I load cdo email with data:
How can I change the email address within the < > to the sreplytoemailaddr, or remove it completely, rather than have my own email address there? I would prefer to just remove it, but the reply to address would be ok. Interestingly, if the recipient replies, the reply goes to sReplytoEmailAddr.
Set .Configuration = objConf
.To = sEmailAddress
.from = sFromField & " <" & sReplytoEmailAddr & ">"
.sender = sReplytoEmailAddr
.ReplyTo = sReplytoEmailAddr
.Subject = sSubjectLine
.htmlbody = strHTML
The emails are actually sent via my personal email setup. What arrives in the recipient's email box:.To = sEmailAddress
.from = sFromField & " <" & sReplytoEmailAddr & ">"
.sender = sReplytoEmailAddr
.ReplyTo = sReplytoEmailAddr
.Subject = sSubjectLine
.htmlbody = strHTML
From: "sFromField" <NOT sReplytoEmailAddr but rather my own >
To: sEmailAddress
Sent: 3/18/2019 7:50:39 PM
Subject: sSubjectLine
To: sEmailAddress
Sent: 3/18/2019 7:50:39 PM
Subject: sSubjectLine
How can I change the email address within the < > to the sreplytoemailaddr, or remove it completely, rather than have my own email address there? I would prefer to just remove it, but the reply to address would be ok. Interestingly, if the recipient replies, the reply goes to sReplytoEmailAddr.
Last edited: