function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cprakashcprakash 

How to turn off "mailTo:" string from receipent From address

Hi,

 

I have used the Apex Mail classe to send an email to a user using trigger.

 

when i see the received mail the from address is looks like:

mailTO:xxx@xxx.com.

 

but the actual sender email id is: xxx@xxx.com.

 

So i how to turn off this mailTo string from sender From address.

 

Regards,

Chandra

bob_buzzardbob_buzzard
How are you receiving the email?  Adding mailTo: is normally something done by a client rather than included in the body.  E.g. if you are reading webmail you may find it rendered this way.
cprakashcprakash

Hi Bob,

 

Thanks 4 your quick reply.

 

I am receving mail in MS outlook.So is there any work around or config setting to turn off this string.

 

Regards,

Chnadra

bob_buzzardbob_buzzard

I'm receiving mail in outlook also, and I just see the link for the user's email address. When I hover over it a mailto appears.

 

Are you receiving text or html email? 

 

 

cprakashcprakash

Hi bob,

 

Its seems that the mailTo string is displayed other than MS outlook.Its depends upon the client.

 

 

So,Now i am looking to prevent to display this mail id [mailTo:xxx@xx.com].

 

Any idea on this?

 

 

Regards,

Chandra