469,573 Members | 1,176 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

Problem with CDONTS sending mail to Lotus and MS Exchange.

Pav
Hi,

I am developing a small Intranet web application which needs to send
mails to our coporate Ids.

I am using CDONTS, But my mails never leave Que folder. Not able to
find out what the problem is . please help

1) I am very new to SMTP configiration on my own Windows XP PC. How
do I configure to send mails. We Use Lotus Notes as our mail. Please
help. On my machine, I have only Lotus notes. I do not have Out look.
me with some documents with this subject.
Still some guys in our company use Exchange. So my ASP should be able
to send mail to both.
2) I am sure there is nothing wrong with my code. Suggest me if there
is something wrong with this.
<QUOTE>Set mail =
Server.CreateObject("CDONTS.NewMail")
mail.From = "pnalago...@csc.com"
mail.To = "pnalago...@csc.com"
mail.Subject = "Test"
mail.Body = "This is a New test1"
mail.Send
'response.write(mail)
set mail=Nothing </QUOTE>
Please help

Feb 8 '07 #1
3 3556
Here you go

http://classicasp.aspfaq.com/email/h...-with-cdo.html

"Pav" <Np**********@gmail.comwrote in message
news:11**********************@s48g2000cws.googlegr oups.com...
Hi,

I am developing a small Intranet web application which needs to send
mails to our coporate Ids.

I am using CDONTS, But my mails never leave Que folder. Not able to
find out what the problem is . please help

1) I am very new to SMTP configiration on my own Windows XP PC. How
do I configure to send mails. We Use Lotus Notes as our mail. Please
help. On my machine, I have only Lotus notes. I do not have Out look.
me with some documents with this subject.
Still some guys in our company use Exchange. So my ASP should be able
to send mail to both.
2) I am sure there is nothing wrong with my code. Suggest me if there
is something wrong with this.
<QUOTE>Set mail =
Server.CreateObject("CDONTS.NewMail")
mail.From = "pnalago...@csc.com"
mail.To = "pnalago...@csc.com"
mail.Subject = "Test"
mail.Body = "This is a New test1"
mail.Send
'response.write(mail)
set mail=Nothing </QUOTE>
Please help

Feb 9 '07 #2
Pav
On Feb 9, 8:03 pm, "ThatsIT.com.au" <slim@thatsITwrote:
Here you go

http://classicasp.aspfaq.com/email/h...-with-cdo.html

"Pav" <Npavan.Re...@gmail.comwrote in message

news:11**********************@s48g2000cws.googlegr oups.com...
Hi,
I am developing a small Intranet web application which needs to send
mails to our coporate Ids.
I am using CDONTS, But my mails never leave Que folder. Not able to
find out what the problem is . please help
1) I am very new to SMTP configiration on my own Windows XP PC. How
do I configure to send mails. We Use Lotus Notes as our mail. Please
help. On my machine, I have only Lotus notes. I do not have Out look.
me with some documents with this subject.
Still some guys in our company use Exchange. So my ASP should be able
to send mail to both.
2) I am sure there is nothing wrong with my code. Suggest me if there
is something wrong with this.
<QUOTE>Set mail =
Server.CreateObject("CDONTS.NewMail")
mail.From = "pnalago...@csc.com"
mail.To = "pnalago...@csc.com"
mail.Subject = "Test"
mail.Body = "This is a New test1"
mail.Send
'response.write(mail)
set mail=Nothing </QUOTE>
Please help- Hide quoted text -

- Show quoted text -
Hi, Thanks for the response. I tried this. This is not working.

I think some problem with the SMTP Setting on my Windows XP Machine.
BTW, Whats the name of the emial server I need to use. Would it be my
local system name or the remore Lotus Notes server name. Please help.

Feb 9 '07 #3

"Pav" <Np**********@gmail.comwrote in message
news:11**********************@h3g2000cwc.googlegro ups.com...
On Feb 9, 8:03 pm, "ThatsIT.com.au" <slim@thatsITwrote:
>Here you go

http://classicasp.aspfaq.com/email/h...-with-cdo.html

"Pav" <Npavan.Re...@gmail.comwrote in message

news:11**********************@s48g2000cws.googleg roups.com...
Hi,
I am developing a small Intranet web application which needs to send
mails to our coporate Ids.
I am using CDONTS, But my mails never leave Que folder. Not able to
find out what the problem is . please help
1) I am very new to SMTP configiration on my own Windows XP PC. How
do I configure to send mails. We Use Lotus Notes as our mail. Please
help. On my machine, I have only Lotus notes. I do not have Out look.
me with some documents with this subject.
Still some guys in our company use Exchange. So my ASP should be able
to send mail to both.
2) I am sure there is nothing wrong with my code. Suggest me if there
is something wrong with this.
<QUOTE>Set mail =
Server.CreateObject("CDONTS.NewMail")
mail.From = "pnalago...@csc.com"
mail.To = "pnalago...@csc.com"
mail.Subject = "Test"
mail.Body = "This is a New test1"
mail.Send
'response.write(mail)
set mail=Nothing </QUOTE>
Please help- Hide quoted text -

- Show quoted text -

Hi, Thanks for the response. I tried this. This is not working.

I think some problem with the SMTP Setting on my Windows XP Machine.
BTW, Whats the name of the emial server I need to use. Would it be my
local system name or the remore Lotus Notes server name. Please help.
i no nothing about lotus notes.

there is a diference if you have Exchage on your macine, but since you are
using XP that is not the case.

You can either send via the pickup folder or via the SMTP server.

here is a example of both
http://dev.thatsit.net.au/samples/ws...eryReceipt.asp
http://support.microsoft.com/kb/286430
Feb 10 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Tom Fuchs | last post: by
3 posts views Thread by Jason MacKenzie | last post: by
2 posts views Thread by Andy_Khosravi | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.