smtp settings

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dipali S

    #1

    smtp settings

    Code:
    Set Mail=CreateObject("CDO.Message")
    Mail.Subject="Email subject"
    Mail.From="a@yahoo.com"
    Mail.To="b@yahoo.com"
    ''Mail.Bcc="someone1@example.org"
    ''Mail.Cc=someone2@example.org
    ''Mail.ReplyTo ="replyto@example.org"
    Mail.TextBody="This is an email message."
    Mail.Send
    set Mail =nothing

    i have written the above code in asp file.bt m nt getting the output.so what and how smtp settings i hv to do?
    Last edited by Dormilich; Nov 23 '10, 06:37 AM. Reason: please use [CODE] [/CODE] tags when posting code
Working...