473,597 Members | 2,829 Online
Bytes | Software Development & Data Engineering Community
+ 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.CreateOb ject("CDONTS.Ne wMail")
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 3714
Here you go

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

"Pav" <Np**********@g mail.comwrote in message
news:11******** **************@ s48g2000cws.goo glegroups.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.CreateOb ject("CDONTS.Ne wMail")
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@thatsITwr ote:
Here you go

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

"Pav" <Npavan.Re...@g mail.comwrote in message

news:11******** **************@ s48g2000cws.goo glegroups.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.CreateOb ject("CDONTS.Ne wMail")
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**********@g mail.comwrote in message
news:11******** **************@ h3g2000cwc.goog legroups.com...
On Feb 9, 8:03 pm, "ThatsIT.com.au " <slim@thatsITwr ote:
>Here you go

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

"Pav" <Npavan.Re...@g mail.comwrote in message

news:11******* *************** @s48g2000cws.go oglegroups.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.CreateOb ject("CDONTS.Ne wMail")
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
4141
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 got this error : Microsoft VBScript runtime (0x800A0046) Permission denied Can you check my code: <%
1
2029
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. Additionally, our gateway router went down and was replaced and reconfigured. It was at about this time that our web forms stopped working. We use CDONTS with the IIS SMTP service. The mail appears to be getting stuck in the queue folder under...
1
2795
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 http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg27002572 that say "for displaying image inline in lotus you must set correct mime header as content disposition : inline" however I can't achieve it with cdonts : my mime header is stuck to "content disposition : attachemnt" and I can't see how...
3
1943
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 appreciated, Jason
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. Hello, I've a bit of a problem with the SendObject command in VBA. On my computer when I execute the below code, a new memo is generated in Lotus Notes with an attachment labeled "Benefit Issues Log.rtf". (Benefit Issues Log is the name of the...
1
1200
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 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
0
1540
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 problem is . please help 1) I am very new to SMTP configiration on my own Windows XP PC. How do
4
2966
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 objCDOMail.Subject="test"
3
3454
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 = "XXXXXXXXXXXX@XXXXXX.COM"
0
7967
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7885
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8031
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8258
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6687
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5428
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3882
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3923
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.