SMTP Return-Path
-
Hey all, I want to add a Return-Path to my message so that Bounces can be send to a specific email address. I tried adding
mm.Header.Add("Return-Path",email)
to my MailMessage, but no luck. I've done some research but found nothing useful. Some guys said that it is impossible with system.net.mail. Any work around or ideas will be appreciated. Thanks
-
Hey all, I want to add a Return-Path to my message so that Bounces can be send to a specific email address. I tried adding
mm.Header.Add("Return-Path",email)
to my MailMessage, but no luck. I've done some research but found nothing useful. Some guys said that it is impossible with system.net.mail. Any work around or ideas will be appreciated. Thanks
I believe the
Return-Path
header is set based on the Sender property[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer