locked
CDONTS Mail!mail is not going to mailbox RRS feed

  • Question

  • I am using the following code to send mail. At the end of the program execution i recieve message. Message sent but i didnt recieved it. Where Does this mail goes? and  how to send it actually to the mailbox


    cdo.To = "sarika@csmail.com"

    cdo.From = "sarika@csmail.com"

    cdo.Subject = "Hi"

    cdo.MailFormat = CDONTS.CdoMailFormats.CdoMailFormatText

    cdo.BodyFormat = CDONTS.CdoBodyFormats.CdoBodyFormatText

    cdo.Body = "Testing CDONTS"

    Response.Write("Message sent")

    Friday, November 18, 2005 4:54 AM

Answers

  • I suggest taking a look at the System.Net.Mail namespace in the .Net Framework 2.0.  2.0 and the associated SDK are released and availalbe for download from MSDN. 

    Note: This forum is dedicated to questions regarding the System.Net namespace so if you must use CDO you may want to try a form geared towards that technology.  Please see: http://www.microsoft.com/community 

    Wednesday, November 23, 2005 5:20 PM