Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail not getting picked up from c:\Inetpub\Mailroot\pickup

Status
Not open for further replies.

dbromberg

Programmer
Jun 24, 2002
29
0
0
US
I've been having a similar problem to the other cdonts question under me. I've been trying to send an email using really simple asp code- see below:
<%
Dim myCDONTSMail
Dim strFrom
Dim strTo
Dim strSubject
Dim strMessage

HTML = &quot;This is an email message with CDONTS. It is really easy. &quot;

'start emailing!!
'email to person logged in first...
strFrom = &quot;dbromberg@exeter.edu&quot;
strTo = &quot;dbromberg@yahoo.com&quot;
strSubject = &quot;How TO send email with CDONTS&quot;

strBody = HTML

Set myCDONTSMail = CreateObject(&quot;CDONTS.NewMail&quot;)

myCDONTSMail.Send strFrom,strTo,strSubject,strBody

Response.write(&quot;Mail was Sent&quot;)
Set myCDONTSMail = Nothing
%>

Anyway, when I run it, it says &quot;Mail was Sent&quot; just fine, but I never receive the email at dbromberg@yahoo.com. From reading your post about the badmail folder, I went into Mailroot in Inetpub and searched around and found all of my email messages in the Pickup folder. Anyone know why they are still in this folder and not sent? Do I need another program? I'm sure CDONTS is installed on my win nt 4 server (that's what's running this script), so why do they stay in that folder and how can I get them to send?

-dbromberg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top