Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: no outgoing email


Message #1 by Lauralyn.Ninow@c... on Tue, 3 Apr 2001 18:10:37 -0500
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C0BC93.4B4BD810

Content-Type: text/plain;

	charset="iso-8859-1"



Hello.



I'm using CDONTS.



webserver is a Windows NT 4SP6

exchange server is a NT machine 5SP6, running Exchange 5.5 SP4



My problem is that I can send email from my webpage to myself within our

domain, but I want to send email to an outside account such as to a yahoo or

aol account.  Help!!!



I'm using aspmailer:



Unchanged Code is as follows:



Set objMailer = CreateObject("CDONTS.Newmail")

objMailer.From = strFrom

objMailer.To = strRcpt

objMailer.Subject = strSubject

objMailer.Body = strBody

objMailer.Send

Set objMailer = Nothing



I've tried stuffing the "from" with a string like:

"email address" <email addres>, thinking that it had to be in that format.

But with no success.



Since the webserver and the exchange servers are separate machines, do I

have to configure something on the webserver to go to the exchange server?



Lauralyn






Message #2 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Wed, 4 Apr 2001 09:45:50 +0100
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C0BCE3.A6A96EB6

Content-Type: text/plain;

	charset="iso-8859-1"



Can you send external messages from exchange server through outlook?



-----Original Message-----

From: Lauralyn.Ninow@c... [mailto:Lauralyn.Ninow@c...]

Sent: Wednesday, April 04, 2001 12:11 AM

To: ASP CDO

Subject: [asp_cdo] no outgoing email







Hello. 



I'm using CDONTS. 



webserver is a Windows NT 4SP6 

exchange server is a NT machine 5SP6, running Exchange 5.5 SP4 



My problem is that I can send email from my webpage to myself within our

domain, but I want to send email to an outside account such as to a yahoo or

aol account.  Help!!!



I'm using aspmailer: 



Unchanged Code is as follows: 



Set objMailer = CreateObject("CDONTS.Newmail") 

objMailer.From = strFrom 

objMailer.To = strRcpt 

objMailer.Subject = strSubject 

objMailer.Body = strBody 

objMailer.Send 

Set objMailer = Nothing 



I've tried stuffing the "from" with a string like: 

"email address" <email addres>, thinking that it had to be in that format.

But with no success. 



Since the webserver and the exchange servers are separate machines, do I

have to configure something on the webserver to go to the exchange server?



Lauralyn 



---

SoftArtisans helps developers build robust, scalable Web applications!

Excel Web reports, charts: http://www.softartisans.com/excelwriter.html

File uploads: http://www.softartisans.com/saf.html

Transactional file management: http://www.softartisans.com/saf1.html

Scalability: http://www.softartisans.com/saxsession.html

ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html










________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.








Message #3 by Lauralyn.Ninow@c... on Wed, 4 Apr 2001 09:26:03 -0500
Yes, this email is proof.  The exchange server is production corporate email

server.  The webserver is a different server and I have a feeling it doesn't

know about the exchange server.  Do I need to configure SMTP on the

webserver to point to the exchange server?  How?

 

Thanks!

Lauralyn



-----Original Message-----

From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

Sent: Wednesday, April 04, 2001 3:46 AM

To: ASP CDO

Subject: [asp_cdo] RE: no outgoing email





Can you send external messages from exchange server through outlook?



-----Original Message-----

From: Lauralyn.Ninow@c... [mailto:Lauralyn.Ninow@c...]

Sent: Wednesday, April 04, 2001 12:11 AM

To: ASP CDO

Subject: [asp_cdo] no outgoing email







Hello. 



I'm using CDONTS. 



webserver is a Windows NT 4SP6 

exchange server is a NT machine 5SP6, running Exchange 5.5 SP4 



My problem is that I can send email from my webpage to myself within our

domain, but I want to send email to an outside account such as to a yahoo or

aol account.  Help!!!



I'm using aspmailer: 



Unchanged Code is as follows: 



Set objMailer = CreateObject("CDONTS.Newmail") 

objMailer.From = strFrom 

objMailer.To = strRcpt 

objMailer.Subject = strSubject 

objMailer.Body = strBody 

objMailer.Send 

Set objMailer = Nothing 



I've tried stuffing the "from" with a string like: 

"email address" <email addres>, thinking that it had to be in that format.

But with no success. 



Since the webserver and the exchange servers are separate machines, do I

have to configure something on the webserver to go to the exchange server?



Lauralyn 

Message #4 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Wed, 4 Apr 2001 15:55:53 +0100
Are you using CDONTS?  If so then the mail is being sent by the SMTP server

on the IIS server, and not exchange.  The SMTP server would require a mail

gateway to the internet in order to send external mail.  There may be some

way to use the exchange server as the mail gateway, I'm not sure.



If you're using CDO, then you are interacting directly with the exchange

server, so sending external mail should be possible, no different to sending

internal mail.  There are security issues when using seperate machines for

IIS and Exchange, in that for some reason once you're authenticated on the

IIS server, it doesn't pass the authentication token on to the exchange

server, and therefore you get access denied.  The only way around this is to

use Basic Authentication, which is a pain for the users.  If you have IIS

installed on the Exchange server, try running your ASPs from there.  The

only way we could get CDO to work properly was by running the ASPs on the

same server as Exchange.



However, its been a couple of years since I worked with this stuff, so its

possible that these issues have been fixed in recent service packs.



-----Original Message-----

From: Lauralyn.Ninow@c... [mailto:Lauralyn.Ninow@c...]

Sent: Thursday, April 05, 2001 3:41 AM

To: ASP CDO

Subject: [asp_cdo] RE: no outgoing email





Yes, this email is proof.  The exchange server is production corporate email

server.  The webserver is a different server and I have a feeling it doesn't

know about the exchange server.  Do I need to configure SMTP on the

webserver to point to the exchange server?  How?

 

Thanks!

Lauralyn



-----Original Message-----

From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

Sent: Wednesday, April 04, 2001 3:46 AM

To: ASP CDO

Subject: [asp_cdo] RE: no outgoing email





Can you send external messages from exchange server through outlook?



-----Original Message-----

From: Lauralyn.Ninow@c... [mailto:Lauralyn.Ninow@c...]

Sent: Wednesday, April 04, 2001 12:11 AM

To: ASP CDO

Subject: [asp_cdo] no outgoing email







Hello. 



I'm using CDONTS. 



webserver is a Windows NT 4SP6 

exchange server is a NT machine 5SP6, running Exchange 5.5 SP4 



My problem is that I can send email from my webpage to myself within our

domain, but I want to send email to an outside account such as to a yahoo or

aol account.  Help!!!



I'm using aspmailer: 



Unchanged Code is as follows: 



Set objMailer = CreateObject("CDONTS.Newmail") 

objMailer.From = strFrom 

objMailer.To = strRcpt 

objMailer.Subject = strSubject 

objMailer.Body = strBody 

objMailer.Send 

Set objMailer = Nothing 



I've tried stuffing the "from" with a string like: 

"email address" <email addres>, thinking that it had to be in that format.

But with no success. 



Since the webserver and the exchange servers are separate machines, do I

have to configure something on the webserver to go to the exchange server?



Lauralyn 



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com

Message #5 by duarte_calderon@h... on Wed, 18 Apr 2001 20:26:53
The function below written in Jscript will send a messege as TEXT



function sendMessege()

{

	var strHTML = Request.Form("taMessege");

	var objSendMail = new ActiveXObject("CDONTS.NewMail");

	

	objSendMail.From="me@s..."

	objSendMail.To= "someone@s...";

	objSendMail.Subject="Feedback from ...";

	objSendMail.MailFormat=1;

	objSendMail.BodyFormat=1;

	objSendMail.Body="Some Messege or variable here";

	objSendMail.Send();

	objSendMail = null;

	Response.Write("Messege Sent");

}

//**************///*****************//*******************//***********







> This message is in MIME format. Since your mail reader does not 

understand

> this format, some or all of this message may not be legible.

> 

> ------_=_NextPart_001_01C0BC93.4B4BD810

> Content-Type: text/plain;

> 	charset="iso-8859-1"

> 

> Hello.

> 

> I'm using CDONTS.

> 

> webserver is a Windows NT 4SP6

> exchange server is a NT machine 5SP6, running Exchange 5.5 SP4

> 

> My problem is that I can send email from my webpage to myself within our

> domain, but I want to send email to an outside account such as to a 

yahoo or

> aol account.  Help!!!

> 

> I'm using aspmailer:

> 

> Unchanged Code is as follows:

> 

> Set objMailer = CreateObject("CDONTS.Newmail")

> objMailer.From = strFrom

> objMailer.To = strRcpt

> objMailer.Subject = strSubject

> objMailer.Body = strBody

> objMailer.Send

> Set objMailer = Nothing

> 

> I've tried stuffing the "from" with a string like:

> "email address" <email addres>, thinking that it had to be in that 

format.

> But with no success.

> 

> Since the webserver and the exchange servers are separate machines, do I

> have to configure something on the webserver to go to the exchange 

server?

> 

> Lauralyn

> 

> 

> ------_=_NextPart_001_01C0BC93.4B4BD810

> Content-Type: text/html;

> 	charset="iso-8859-1"

> Content-Transfer-Encoding: quoted-printable

> 

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

> <HTML>

> <HEAD>

> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; 

> charset=3Diso-8859-1">

> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 

> 5.5.2653.12">

> <TITLE>no outgoing email</TITLE>

> </HEAD>

> <BODY>

> 

> <P><FONT SIZE=3D2>Hello.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>I'm using CDONTS.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>webserver is a Windows NT 4SP6</FONT>

> <BR><FONT SIZE=3D2>exchange server is a NT machine 5SP6, running 

> Exchange 5.5 SP4</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>My problem is that I can send email from my webpage 

> to myself within our domain, but I want to send email to an outside 

> account such as to a yahoo or aol account.  Help!!!</FONT></P>

> 

> <P><FONT SIZE=3D2>I'm using aspmailer:</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Unchanged Code is as follows:</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Set objMailer =3D 

> CreateObject("CDONTS.Newmail")</FONT>

> <BR><FONT SIZE=3D2>objMailer.From =3D strFrom</FONT>

> <BR><FONT SIZE=3D2>objMailer.To =3D strRcpt</FONT>

> <BR><FONT SIZE=3D2>objMailer.Subject =3D strSubject</FONT>

> <BR><FONT SIZE=3D2>objMailer.Body =3D strBody</FONT>

> <BR><FONT SIZE=3D2>objMailer.Send</FONT>

> <BR><FONT SIZE=3D2>Set objMailer =3D Nothing</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>I've tried stuffing the "from" with a 

> string like:</FONT>

> <BR><FONT SIZE=3D2>"email address" <email addres>, 

> thinking that it had to be in that format. But with no success.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Since the webserver and the exchange servers are 

> separate machines, do I have to configure something on the webserver to 

> go to the exchange server?</FONT></P>

> 

> <P><FONT SIZE=3D2>Lauralyn</FONT>

> </P>

> 

> </BODY>

> </HTML>

> ------_=_NextPart_001_01C0BC93.4B4BD810--

Message #6 by "Earls, Michael (CORP)" <Michael.Earls@C...> on Wed, 18 Apr 2001 17:58:12 -0400
To provide a to address with the full name and the email address, you can

use this format:



"John Doe(john.doe@y...)"



Also, you _must_ have a "valid" from address for CDONTS to send the email.



We use something like this:



"Auto Mailer(noemail@c...)"



I'm not sure if this will make us very popular with the mail server admins

but it does the job.



Michael Earls



-----Original Message-----

From: duarte_calderon@h... [mailto:duarte_calderon@h...]

Sent: Wednesday, April 18, 2001 1:27 PM

To: ASP CDO

Subject: [asp_cdo] Re: no outgoing email





The function below written in Jscript will send a messege as TEXT



function sendMessege()

{

	var strHTML = Request.Form("taMessege");

	var objSendMail = new ActiveXObject("CDONTS.NewMail");

	

	objSendMail.From="me@s..."

	objSendMail.To= "someone@s...";

	objSendMail.Subject="Feedback from ...";

	objSendMail.MailFormat=1;

	objSendMail.BodyFormat=1;

	objSendMail.Body="Some Messege or variable here";

	objSendMail.Send();

	objSendMail = null;

	Response.Write("Messege Sent");

}

//**************///*****************//*******************//***********







> This message is in MIME format. Since your mail reader does not 

understand

> this format, some or all of this message may not be legible.

> 

> ------_=_NextPart_001_01C0BC93.4B4BD810

> Content-Type: text/plain;

> 	charset="iso-8859-1"

> 

> Hello.

> 

> I'm using CDONTS.

> 

> webserver is a Windows NT 4SP6

> exchange server is a NT machine 5SP6, running Exchange 5.5 SP4

> 

> My problem is that I can send email from my webpage to myself within our

> domain, but I want to send email to an outside account such as to a 

yahoo or

> aol account.  Help!!!

> 

> I'm using aspmailer:

> 

> Unchanged Code is as follows:

> 

> Set objMailer = CreateObject("CDONTS.Newmail")

> objMailer.From = strFrom

> objMailer.To = strRcpt

> objMailer.Subject = strSubject

> objMailer.Body = strBody

> objMailer.Send

> Set objMailer = Nothing

> 

> I've tried stuffing the "from" with a string like:

> "email address" <email addres>, thinking that it had to be in that 

format.

> But with no success.

> 

> Since the webserver and the exchange servers are separate machines, do I

> have to configure something on the webserver to go to the exchange 

server?

> 

> Lauralyn

> 

> 

> ------_=_NextPart_001_01C0BC93.4B4BD810

> Content-Type: text/html;

> 	charset="iso-8859-1"

> Content-Transfer-Encoding: quoted-printable

> 

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

> <HTML>

> <HEAD>

> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; 

> charset=3Diso-8859-1">

> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 

> 5.5.2653.12">

> <TITLE>no outgoing email</TITLE>

> </HEAD>

> <BODY>

> 

> <P><FONT SIZE=3D2>Hello.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>I'm using CDONTS.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>webserver is a Windows NT 4SP6</FONT>

> <BR><FONT SIZE=3D2>exchange server is a NT machine 5SP6, running 

> Exchange 5.5 SP4</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>My problem is that I can send email from my webpage 

> to myself within our domain, but I want to send email to an outside 

> account such as to a yahoo or aol account.  Help!!!</FONT></P>

> 

> <P><FONT SIZE=3D2>I'm using aspmailer:</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Unchanged Code is as follows:</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Set objMailer =3D 

> CreateObject("CDONTS.Newmail")</FONT>

> <BR><FONT SIZE=3D2>objMailer.From =3D strFrom</FONT>

> <BR><FONT SIZE=3D2>objMailer.To =3D strRcpt</FONT>

> <BR><FONT SIZE=3D2>objMailer.Subject =3D strSubject</FONT>

> <BR><FONT SIZE=3D2>objMailer.Body =3D strBody</FONT>

> <BR><FONT SIZE=3D2>objMailer.Send</FONT>

> <BR><FONT SIZE=3D2>Set objMailer =3D Nothing</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>I've tried stuffing the "from" with a 

> string like:</FONT>

> <BR><FONT SIZE=3D2>"email address" <email addres>, 

> thinking that it had to be in that format. But with no success.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Since the webserver and the exchange servers are 

> separate machines, do I have to configure something on the webserver to 

> go to the exchange server?</FONT></P>

> 

> <P><FONT SIZE=3D2>Lauralyn</FONT>

> </P>

> 

> 

---<BR>

SoftArtisans helps developers build robust, scalable Web applications!<BR>

Excel Web reports, charts: http://www.softartisans.com/excelwriter.html<BR>

File uploads: http://www.softartisans.com/saf.html<BR>

Transactional file management: http://www.softartisans.com/saf1.html<BR>

Scalability: http://www.softartisans.com/saxsession.html<BR>

ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html<BR>

---<BR>


michael.earls@c...<BR>

To unsubscribe send a blank email to $subst('Email.Unsub')<BR>



</BODY>

> </HTML>

> ------_=_NextPart_001_01C0BC93.4B4BD810--

Message #7 by duarte_calderon@h... on Fri, 20 Apr 2001 19:08:52
Hi,

  You probably already solved your problem with the e-mail, and was 

wondering if you could give me a clue to something similar.  I have the 

same setup as for machine with NT Server adn Exchange 5.5, but I'm not 

able to send E-mail to people in our domain.  The oposite of your 

problem.  Could you tell me where I might have gone wrong?



Marco Duarte



///***************///***************///*****************



> This message is in MIME format. Since your mail reader does not 

understand

> this format, some or all of this message may not be legible.

> 

> ------_=_NextPart_001_01C0BC93.4B4BD810

> Content-Type: text/plain;

> 	charset="iso-8859-1"

> 

> Hello.

> 

> I'm using CDONTS.

> 

> webserver is a Windows NT 4SP6

> exchange server is a NT machine 5SP6, running Exchange 5.5 SP4

> 

> My problem is that I can send email from my webpage to myself within our

> domain, but I want to send email to an outside account such as to a 

yahoo or

> aol account.  Help!!!

> 

> I'm using aspmailer:

> 

> Unchanged Code is as follows:

> 

> Set objMailer = CreateObject("CDONTS.Newmail")

> objMailer.From = strFrom

> objMailer.To = strRcpt

> objMailer.Subject = strSubject

> objMailer.Body = strBody

> objMailer.Send

> Set objMailer = Nothing

> 

> I've tried stuffing the "from" with a string like:

> "email address" <email addres>, thinking that it had to be in that 

format.

> But with no success.

> 

> Since the webserver and the exchange servers are separate machines, do I

> have to configure something on the webserver to go to the exchange 

server?

> 

> Lauralyn

> 

> 

> ------_=_NextPart_001_01C0BC93.4B4BD810

> Content-Type: text/html;

> 	charset="iso-8859-1"

> Content-Transfer-Encoding: quoted-printable

> 

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

> <HTML>

> <HEAD>

> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; 

> charset=3Diso-8859-1">

> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 

> 5.5.2653.12">

> <TITLE>no outgoing email</TITLE>

> </HEAD>

> <BODY>

> 

> <P><FONT SIZE=3D2>Hello.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>I'm using CDONTS.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>webserver is a Windows NT 4SP6</FONT>

> <BR><FONT SIZE=3D2>exchange server is a NT machine 5SP6, running 

> Exchange 5.5 SP4</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>My problem is that I can send email from my webpage 

> to myself within our domain, but I want to send email to an outside 

> account such as to a yahoo or aol account.  Help!!!</FONT></P>

> 

> <P><FONT SIZE=3D2>I'm using aspmailer:</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Unchanged Code is as follows:</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Set objMailer =3D 

> CreateObject("CDONTS.Newmail")</FONT>

> <BR><FONT SIZE=3D2>objMailer.From =3D strFrom</FONT>

> <BR><FONT SIZE=3D2>objMailer.To =3D strRcpt</FONT>

> <BR><FONT SIZE=3D2>objMailer.Subject =3D strSubject</FONT>

> <BR><FONT SIZE=3D2>objMailer.Body =3D strBody</FONT>

> <BR><FONT SIZE=3D2>objMailer.Send</FONT>

> <BR><FONT SIZE=3D2>Set objMailer =3D Nothing</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>I've tried stuffing the "from" with a 

> string like:</FONT>

> <BR><FONT SIZE=3D2>"email address" <email addres>, 

> thinking that it had to be in that format. But with no success.</FONT>

> </P>

> 

> <P><FONT SIZE=3D2>Since the webserver and the exchange servers are 

> separate machines, do I have to configure something on the webserver to 

> go to the exchange server?</FONT></P>

> 

> <P><FONT SIZE=3D2>Lauralyn</FONT>

> </P>

> 

> </BODY>

> </HTML>

> ------_=_NextPart_001_01C0BC93.4B4BD810--


  Return to Index