RSS 2.0 Feed
RSS 2.0


Atom 1.0 Feed
Atom 1.0

  System.Web.Mail.Bliss 


qt8gt0bxhw|20009F4EEE83|RyanMain|subtext_Content|Text|0xfbff8d0000000000a400000001000100

Dave Wanta (of kbAlertz.com and 123aspx.com) has put together some really great info on the System.Web.Mail namespace at SystemWebMail.com. This FAQ is one of the most amazing & complete .NET resources I've seen in a while. Really awesome stuff.

You can find all kinds of undocumented stuff here. For example, many might say that you cannot send authenticated SMTP via the System.Web.Mail namespace. But Dave says phooey and gives a clear example in his FAQ. How about adding custom headers, like a Reply-To header? He's got an example for that too and another for adding your own custom headers.

One unrelated thing about the site that was cool is it's great use or URL rewriting. I love that stuff. But you know, it's guys like Dave that make me feel like I don't contribute enough to the online programming community.




                   



Leave a comment below.

Comments

  1. Dustin 2/16/2005 12:48 PM
    Gravatar
    I figured out

    mailMsg.Headers.Add("Reply-To", "me@abc.com");

    mailMsg.Headers.Add("X-Message-Flag", "Follow Up");

    for setting reply-to and the Outlook reminder flag, but I can't figure out how to set the Reply-By date/time. It doesn't look possible. :-(
  2. Ryan Farley 2/16/2005 2:32 PM
    Gravatar
    Dustin,

    That is pretty sweet. Do you think the Reply-by would be:

    mailMsg.Headers.Add("Expiry-Date", "Sat, 19 Feb 2005 18:00:00 -0600");

    or would that not be the same thing?

    -Ryan
  3. Dustin 2/17/2005 10:47 AM
    Gravatar
    That doesn't affect it either. I also tried

    mailMsg.Headers.Add("Expiry-Date", DateTime.Now.AddDay(-7).ToString());

    It seems like this should be possible. :-(

  4. Audun 3/3/2005 1:49 AM
    Gravatar
    I think this should work :=)
    (just look at the headers from your mail client)

    mailMsg.Headers.Add("Reply-By", DateTime.Now.AddDay(-7).ToString());

    Audun
  5. 9/19/2009 1:10 AM
    Gravatar
    ybuaybxe - Google Search
  6. 9/19/2009 2:20 AM
    Gravatar
    povjbsip - Google Search
Comments have been closed on this topic.



 

News


Also see my CRM Developer blog

Connect:   @ryanfarley@mastodon.social

         

Sponsor

Sections