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
bozotheclownbozotheclown 

VF E-Mail Page - Omit "no-reply@salesforce.com"?

Hello.  I have set up a VF page that sends an e-mail...but am having one issue.  Is there any code that will allow me to omit the "no-reply@salesforce.com on behalf of XXX" text...and instead substitute my "from" e-mail address?


Thanks

Best Answer chosen by Admin (Salesforce Developers) 
WesNolte__cWesNolte__c

Hey,

 

Yes you should be able to by using methods listed here:

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_single.htm?SearchType=Stem

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_base.htm?SearchType=Stem

 

Using methods listed in these two areas you can set replyTo, cc, bcc, from name etc.

 

Wes

All Answers

WesNolte__cWesNolte__c

Hey,

 

Yes you should be able to by using methods listed here:

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_single.htm?SearchType=Stem

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_base.htm?SearchType=Stem

 

Using methods listed in these two areas you can set replyTo, cc, bcc, from name etc.

 

Wes

This was selected as the best answer
bozotheclownbozotheclown

Great...much appreciated.