Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
 
Old September 22nd, 2004, 06:11 AM
Authorized User
 
Join Date: Apr 2004
Location: Jaipur, Rajasthan, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to tact_259
Default 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
 
Old September 22nd, 2004, 07:42 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Could you post your code?
 
Old September 22nd, 2004, 07:59 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
 
Old September 24th, 2004, 08:04 AM
Authorized User
 
Join Date: Apr 2004
Location: Jaipur, Rajasthan, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to tact_259
Default

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
 
Old October 13th, 2007, 09:28 AM
Registered User
 
Join Date: Oct 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old April 10th, 2008, 03:47 AM
Registered User
 
Join Date: Apr 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

 
Old April 13th, 2008, 01:46 AM
Registered User
 
Join Date: Apr 2008
Location: Chennai, Tamilnadu, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
sending mail from sql server pady123 SQL Server 2005 0 October 17th, 2008 01:58 AM
problems sending mail with java mail gandacuboy J2EE 2 December 20th, 2006 03:05 PM
Synchronize a remote and local database - MAYBE??? kevorkian SQL Server 2000 3 March 8th, 2005 02:00 PM
Re: Remote and Local table Synchronization spinout SQL Server DTS 3 September 16th, 2004 09:17 PM
Sending both text mail and HTML mail - CDONTS madhukp Classic ASP Basics 1 October 8th, 2003 01:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.