How to manipulate the displaying of the "From" email address
-
Hello, I need to find a way to manipulate the displaying of the "From" email address. Since I am also using the Sender field to send the email message on behalf of the Sender. So the the person who receives the message will see some thing like this from the email header (I am using the .Net CDO Mail API): From: jblow@abc.com on behalf of jdoe@xyz.com To: john@hotmail.com Here is the sample code that I have used: cdo = Server.CreateObject("CDO.Message"); cdo.From = "jdoe@xyz.com"; cdo.ReplyTo = "jdoe@xyz.com"; cdo.To = "john@hotmail.com"; cdo.Sender = "jblow@abc.com"; ... What I really want to do here is that I just want to manipulate the displaying of the From email address header so it will just display as: From: jdoe@xyz.com Thanks for any respond. John
-
Hello, I need to find a way to manipulate the displaying of the "From" email address. Since I am also using the Sender field to send the email message on behalf of the Sender. So the the person who receives the message will see some thing like this from the email header (I am using the .Net CDO Mail API): From: jblow@abc.com on behalf of jdoe@xyz.com To: john@hotmail.com Here is the sample code that I have used: cdo = Server.CreateObject("CDO.Message"); cdo.From = "jdoe@xyz.com"; cdo.ReplyTo = "jdoe@xyz.com"; cdo.To = "john@hotmail.com"; cdo.Sender = "jblow@abc.com"; ... What I really want to do here is that I just want to manipulate the displaying of the From email address header so it will just display as: From: jdoe@xyz.com Thanks for any respond. John
try MailAddress
-
try MailAddress
Hi Muhammad, Can you please give me a little bit more detail? Thanks, John