You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Mail API FriendlyFromAddress & ReplyToAddress not working?

Received Response
24
Views
4
Comments
edited Sep 11, 2015 3:24PM in Integrations and APIs 4 comments

Content

Somehow when sending a message with the Mail API in a CPM the FriendlyFromAddress & ReplyToAddress are simply not coming through no matter what options I try. It always arrives without a trace of the friendly from & reply to address. I also tried setting custom headers like;

$MailMessage->Headers = "Reply-To: [email protected]";

But also nothing...

Can someone let me know what could be the issue here, since although this is documented in the MailMessage object, the sample does not use any of these setting.

thanks,
Bastiaan

 

Version

Feb2015

Code Snippet

                         $Email = "[email protected]";
            $text_body = "Bladiebla";
            $html_body = "";

            $MailMessage = new RNCPHP\MailMessage();
            $MailMessage->To->EmailAddresses = array($Email);
            $MailMessage->Subject = "This should

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!