MailMessage class

  • Thread starter Thread starter Daniel Shannon
  • Start date Start date
D

Daniel Shannon

Hi ,I'm developing an application using the mailmessage
class. Does anyone know if it's possible to manipulate
the Return-Path header in the email (to be different from
the "From" address) for the purposes of tracking bounced
emails? I'm programming in VB.NET.
Thanks for any help.
 
I'm new to .NET development, myself, Daniel. But I've got several
years of ASP development. I'm having the same problem as you.

I've found references which suggest the following should work to add a
different return-path header.

objMessage.Headers.Add("Return-path", returnpath)

However, I've yet to get it to function properly. If I find a
solution, I'll post it here.

-jay
Socratic Technologies, Inc.
 
Back
Top