Results 1 to 12 of 12

Thread: Sending Mail using CDONTS and IIS4

Threaded View

  1. #1

    Thread Starter
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011

    Sending Mail using CDONTS and IIS4

    Hi All..
    I am using Following Code to send an email to the user... No Error but the mail is not being sent...
    I am new to this.. so plz help me even if i am being so stupid...


    VB Code:
    1. Dim myMail
    2.     Set myMail = CreateObject("CDONTS.NewMail")
    3.     myMail.From = "[email protected]"
    4.     myMail.To = "[email protected]"
    5.     myMail.Subject = "Your account information"
    6.     myMail.Body =   firstname & " " & lastname & vbcrlf & "You  have been registered under UserName: " & loginname & " and Password: " & upass
    7.     myMail.Send
    8.     Set myMail = Nothing

    One more point.. I am behind a proxy server.. IIS is running on my machine..should i do soething with Default SMTP Server?
    Last edited by moinkhan; Sep 6th, 2003 at 07:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width