|
-
Sep 6th, 2003, 07:40 PM
#1
Thread Starter
Frenzied Member
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:
Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.Subject = "Your account information"
myMail.Body = firstname & " " & lastname & vbcrlf & "You have been registered under UserName: " & loginname & " and Password: " & upass
myMail.Send
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.
-
Sep 7th, 2003, 08:46 AM
#2
Thread Starter
Frenzied Member
Anyone with some IDEA?
Please!!!!!!!!!!!11
-
Sep 8th, 2003, 03:20 AM
#3
Frenzied Member
How is the e-mail sent using CDONTS supposed to be sent??
- Does it get sent via Exchange (in which case there should be an error log / event reported on the server somewhere).
- Does it get sent via an SMTP servers (in which case do you have access for you or your computer to relay messages through the server)
-
Sep 8th, 2003, 07:58 AM
#4
Thread Starter
Frenzied Member
Thanx God.. i have got a reply...
I have to send mail thru SMTP....
Now what should i do?
Waiting for your feedback..
Thanx man..
-
Sep 8th, 2003, 08:07 AM
#5
Frenzied Member
An SMTP Server will need to take your SMTP formatted e-mail message and relay it onto the next SMTP server in the chain to delivery to the end user.
If the SMTP server you are communicating with doesn't like you (in a computer sense) then it will not accept the SMTP message and will refuse to relay it for you.
For example, the SMTP server may refuse your IP address, your computer name, your logon name or the .FromAddress in your e-mail.
How CDONTS identifies which SMTP server it is talking to, I am not sure. It might be DNS or it might be in the configuration files somewhere.
-
Sep 8th, 2003, 10:14 AM
#6
Have you installed and configured the SMTP server component of IIS?
-
Sep 8th, 2003, 01:17 PM
#7
Thread Starter
Frenzied Member
I have installed SMTP.. but just wondering what/how to configure?
-
Sep 8th, 2003, 02:11 PM
#8
I think it is an NT Service. Scroll through the services and see if there is an entry for SMTP (I don't have an NT Server machine available so cannot check).
-
Sep 9th, 2003, 07:55 AM
#9
Thread Starter
Frenzied Member
SMTP Service is up and running... It just doesn't send the mail
-
Sep 9th, 2003, 08:18 AM
#10
I think... it's been a while..... but, I think you have to give it the SMTP IP address....
-
Sep 10th, 2003, 01:04 AM
#11
Hyperactive Member
Last edited by Kunchesm; Sep 10th, 2003 at 01:09 AM.
ksm
-
Sep 10th, 2003, 07:28 AM
#12
Thread Starter
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|