 |
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|

September 22nd, 2004, 06:11 AM
|
Authorized User
|
|
Join Date: Apr 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sending E-Mail from Local to Remote Server
Hello All,
Can anyone help me. This is my problem...
I am running an ASP page at local side and want to send E-Mail to remote user.
Using CDONTS.NewMail object, if I send the mail then the mail goes in
( c:/Inetpub/mailroot/queue) folder, not to remote user (ie. tact_arun259@yahoo.com).
But I want to send (tact_arun259@yahoo.com) user.
Please help me.
Arun Kumar
Thanks in advance.
Arun Kumar
B-259, Vaishali Nagar,
Jaipur-302021
Rajasthan
India
__________________
Arun Kumar
B-259, Vaishali Nagar,
Jaipur-302021
Rajasthan
India
|

September 22nd, 2004, 07:42 AM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Could you post your code?
|

September 22nd, 2004, 07:59 AM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
|
|
more likely to be a setup problem than a code problem if it gets to the queue folder. Imar explained the options pretty well recently - doesn't anyone check the archives before they post?
http://p2p.wrox.com/topic.asp?TOPIC_ID=19398
|

September 24th, 2004, 08:04 AM
|
Authorized User
|
|
Join Date: Apr 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks to All.
Here is my code.
Now one thing is...
Using this code I am able to send mail. This mail goes to c:/Inetpub/mailroot/queue folder and after 2-4 seconds it disappears automatically. But this mail does not reach at destination mail address which I give - "tact_arun259@yahoo.com"
Please help me.
set mymail= server.CreateObject("CDONTS.Newmail")
mymail.mailformat=0
mymail.bodyformat=0
mymail.subject="Aryabhatt Gem Stone Recommendation"
mymail.To="tact_arun259@yahoo.com"
mymail.From="help@aryabhatt.com"
mymail.body="Hello World"
mymail.send
set mymail = nothing
Thanks and Waiting for reply
Arun Kumar
B-259, Vaishali Nagar,
Jaipur-302021
Rajasthan
India
|

October 13th, 2007, 09:28 AM
|
Registered User
|
|
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i've been looking answers for the same problem, i get "Messages stuck in the queue" and while i was trying i notice something that could be the solution (centainly not the professional answer):
1. click start, control panel, administrative tools, IIS services
2. expand PC and right click "default virtual SMTP server"
3. select delivery tab (spanish: ENTREGA)
4. set lower values for: "first retry interval", "second try interval", "third retry interval", "subsequent retry interval"... (i set them to 1)
now it's working fine for and hope this to be usefull
|

April 10th, 2008, 03:47 AM
|
Registered User
|
|
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
quote:Originally posted by db29a
i've been looking answers for the same problem, i get "Messages stuck in the queue" and while i was trying i notice something that could be the solution (centainly not the professional answer):
1. click start, control panel, administrative tools, IIS services
2. expand PC and right click "default virtual SMTP server"
3. select delivery tab (spanish: ENTREGA)
4. set lower values for: "first retry interval", "second try interval", "third retry interval", "subsequent retry interval"... (i set them to 1)
now it's working fine for and hope this to be usefull
|
Hi db29a,
I cannot use your setting for my problem. My problem is I cannot send my localhost server to my Yahoo account since 3 days ago. BTW I can use the same method with the other webmail like hotmail or gmail. I don't know about what happens.
Can anyone let me know some way?
Thanks a lot.
TOI
|

April 13th, 2008, 01:46 AM
|
Registered User
|
|
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hi arun kumar,
First download <b>cdonts.dll </b> by searching from google.
and than save it in c:/windows/system/ directory.
Now, click start menu->run and type-> "regsvr32 cdonts.dll" and than click ok
you get the message successfully registered.
Now you run your asp code
I assure know its works 100%
by
Jagadeesh
Sr. Programmer
|
|
 |