UrlContentBase missing in System.Net.Mail.MailMessage

G

Guest

System.Web.Mail has been marked as obsolete and we're directed to use
System.Net.Mail instead, but is there a way to implement the UrlContentBase
functionality?

It was useful when sending email from a web app so I didn't have to worry
about which server the app is running on (dev, test or prod).

thanks,

Michael
 
Joined
May 12, 2009
Messages
1
Reaction score
0
Try:

System.Net.Mail.MailMessage msg = new MailMessage();
msg.Headers.Add("Content-Base", "value");

Retrieved from linkedin.com/answers/technology/web-development/TCH_WDD/170870-10209809?browseCategory= on 20090512.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top