473,480 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 3705
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4130
by: M P | last post by:
Need help! Whats wrong with my code? My plan is this, I have my IIS5.0 on Server A and then I will use SMTP service of Server B. I already configured IIS to use Server B as its SMTP Server but I...
1
2020
by: Tom Fuchs | last post by:
We have been using CDONTS with IIS 5.0-Win2K for more than a year now without any problems. Recently our exchange server ran into some problems and the information store needed to be rebuilt. ...
1
2786
by: mrique | last post by:
hi My readers that are lotus note user receive the mails I send using cdonts with image displayed as attachement in place of inline. I read...
3
1935
by: Jason MacKenzie | last post by:
We're moving frome Exchange to Notes soon and I'm wondering if anyone has any info about sending mail using Notes and Vb.Net (or C#). Any help or suggestions for a tutorial are very much...
2
846
by: Andy_Khosravi | last post by:
I posted this question about two days ago, but for some reason it never actually got put up. I couldn't' find it with searches, so I am re-posting it now. I apologize if this is a double post. ...
1
1195
by: Pav | last post by:
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...
0
1532
by: Pav | last post by:
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...
4
2948
by: bgs | last post by:
i'm trying to send mail from asp server in two ways, the first uses CDONTS.Newmail: <% Dim objCDOMail Set objCDOMail = Server.CreateObject("CDONTS.NewMail") objCDOMail.BodyFormat = 1 ...
3
3437
by: Prasad | last post by:
Hi all, I had to write a page in ASP which sends an email. I googled and was able to write the following code: <html> <body> <% Set Mail = Server.CreateObject("CDONTS.NewMail") Mail.To =...
0
7051
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6915
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7097
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6750
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6993
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4794
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2993
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1307
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.