I am sending mails with Windows 2003 IIS Smtp Server. I need to change return path in mail header to send mail bounces (like errors user mailbox not found, etc) to another mail address. Example: Mail From: Mail To: Whenever smtp daemon sends this mails It addes a "return path: " to the mail header. And bounces goes to there. I am able to add a new return path to the header but smtp daemon overrides it. I need to find a way to stop IIS smtp server to put that header and respect my customized header Or I need to find a capable smtp server to do this? Do you have any idea? Thanks
I solved it by adding sender and return-path both to the header. .fields("urn:schemas:mailheader:return-path") = email .fields("urn:schemas:mailheader:sender") = Email