I am sending mail using classic ASP with CDOSYS objects, but I would like the envelope from the address, i.e. the one specified by MAIL FROM during SMTP, to be different from the From header address in the message.
The purpose of this is to implement VERP . For example, I would expect the SMTP dialog to be something like this:
220 mail.example.com ESMTP
[...]
MAIL FROM: <info+test=example.com@mydomain.test>
250 2.0.0 OK
RCPT TO: <test@example.com>
250 2.0.0 OK
DATA
354 Start mail input; end with <CRLF>.<CRLF>
From: Company1 <info@mydomain.test>
To: test@example.com
[...]
In the above example, the envelope is from " info+test=example.com@mydomain.test ", but the From header is " info@mydomain.test ".
Hope this makes sense. Any ideas?
source
share