Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: RE: [beginning_asp] RE: Submit using email


Message #1 by "Matthew Lohr" <mlohr@t...> on Thu, 6 Apr 2000 10:29:27 -0400
for the sender it is saying sender unspecified



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

From: JAMES 

Sent: Thursday, April 06, 2000 10:25 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Look at the header information on the emails to see if

anything is missing.



Also, make sure your SMTP service is running on the server.





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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 9:11 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





ok there are messages now what



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

From: JAMES

Sent: Thursday, April 06, 2000 10:08 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





On the Server , look at the folder located at:

\InetPub\Mailroot\Badmail



and



\InetPub\Mailroot\Queue



See if there are any email messages there.



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:47 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Thanks.  Already got that part but now it seems to work but I am not getting

the emails



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

From: JAMES

Sent: Thursday, April 06, 2000 9:46 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Put quotes around it:

"name@d..."



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:02 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





the at symbol in the name@d... is giving me an invalid symbol



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

From: James Texter

Sent: Thursday, April 06, 2000 8:29 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





I have used this at my business, and it is pretty simple really, assuming

you are running an NT machine, as this object is not supported by PWS.  Here

is a code sample



Dim myMail	'Variable for the mail object

Dim msgBody  'String variable to hold the body of the message

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.Subject = "This is the subject line"

myMail.Body = msgBody	'The body of the message

myMail.To = name@d...	'Where the message is going

myMail.Send	'sends the email



This code uses the SMTP protocol, and has worked beautifully for me.  I hope

this helps.



James



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

From: Matthew Lohr

Sent: Wednesday, April 05, 2000 12:47 PM

To: Beginning ASP

Subject: [beginning_asp] Submit using email





I am trying to make a form submitting data via email and post to a database.

So far I have only seen a way to do it bt opening up the users email.  Can I

do this with out the user seeing the email

Message #2 by JAMES <james@g...> on Thu, 6 Apr 2000 09:55:08 -0500
Looking at your code, I do not see the FROM option.

Try adding that with an email address...



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

From: Matthew Lohr 

Sent: Thursday, April 06, 2000 5:51 PM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





for the sender it is saying sender unspecified



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

From: JAMES 

Sent: Thursday, April 06, 2000 10:25 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Look at the header information on the emails to see if

anything is missing.



Also, make sure your SMTP service is running on the server.





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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 9:11 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





ok there are messages now what



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

From: JAMES

Sent: Thursday, April 06, 2000 10:08 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





On the Server , look at the folder located at:

\InetPub\Mailroot\Badmail



and



\InetPub\Mailroot\Queue



See if there are any email messages there.



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:47 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Thanks.  Already got that part but now it seems to work but I am not getting

the emails



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

From: JAMES

Sent: Thursday, April 06, 2000 9:46 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Put quotes around it:

"name@d..."



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:02 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





the at symbol in the name@d... is giving me an invalid symbol



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

From: James Texter

Sent: Thursday, April 06, 2000 8:29 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





I have used this at my business, and it is pretty simple really, assuming

you are running an NT machine, as this object is not supported by PWS.  Here

is a code sample



Dim myMail	'Variable for the mail object

Dim msgBody  'String variable to hold the body of the message

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.Subject = "This is the subject line"

myMail.Body = msgBody	'The body of the message

myMail.To = name@d...	'Where the message is going

myMail.Send	'sends the email



This code uses the SMTP protocol, and has worked beautifully for me.  I hope

this helps.



James



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

From: Matthew Lohr

Sent: Wednesday, April 05, 2000 12:47 PM

To: Beginning ASP

Subject: [beginning_asp] Submit using email





I am trying to make a form submitting data via email and post to a database.

So far I have only seen a way to do it bt opening up the users email.  Can I

do this with out the user seeing the email






Message #3 by "Matthew Lohr" <mlohr@t...> on Thu, 6 Apr 2000 10:50:29 -0400
This message was forwarded to this list from the beginning asp list.  Can

someone help?



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

From: Matthew Lohr 

Sent: Thursday, April 06, 2000 6:51 PM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





for the sender it is saying sender unspecified



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







Look at the header information on the emails to see if

anything is missing.



Also, make sure your SMTP service is running on the server.





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







ok there are messages now what



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

From: JAMES







On the Server , look at the folder located at:

\InetPub\Mailroot\Badmail



and



\InetPub\Mailroot\Queue



See if there are any email messages there.



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

From: Matthew Lohr







Thanks.  Already got that part but now it seems to work but I am not getting

the emails



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







Put quotes around it:

"name@d..."



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

From: Matthew Lohr





the at symbol in the name@d... is giving me an invalid symbol



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

From: James Texter







I have used this at my business, and it is pretty simple really, assuming

you are running an NT machine, as this object is not supported by PWS.  Here

is a code sample



Dim myMail	'Variable for the mail object

Dim msgBody  'String variable to hold the body of the message

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.Subject = "This is the subject line"

myMail.Body = msgBody	'The body of the message

myMail.To = name@d...	'Where the message is going

myMail.Send	'sends the email



This code uses the SMTP protocol, and has worked beautifully for me.  I hope

this helps.



James



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

From: Matthew Lohr







I am trying to make a form submitting data via email and post to a database.

So far I have only seen a way to do it bt opening up the users email.  Can I

do this with out the user seeing the email








Message #4 by "Matthew Lohr" <mlohr@t...> on Thu, 6 Apr 2000 11:02:26 -0400
I added this

mymail.From = "mlohr@t..."



I am no longer getting entries in the badmail directory but still no

delivery or does this process take awhile as someone else on the beginning

list said



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

From: JAMES 

Sent: Thursday, April 06, 2000 10:55 AM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





Looking at your code, I do not see the FROM option.

Try adding that with an email address...



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 5:51 PM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





for the sender it is saying sender unspecified



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

From: JAMES

Sent: Thursday, April 06, 2000 10:25 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Look at the header information on the emails to see if

anything is missing.



Also, make sure your SMTP service is running on the server.





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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 9:11 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





ok there are messages now what



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

From: JAMES

Sent: Thursday, April 06, 2000 10:08 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





On the Server , look at the folder located at:

\InetPub\Mailroot\Badmail



and



\InetPub\Mailroot\Queue



See if there are any email messages there.



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:47 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Thanks.  Already got that part but now it seems to work but I am not getting

the emails



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

From: JAMES

Sent: Thursday, April 06, 2000 9:46 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Put quotes around it:

"name@d..."



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:02 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





the at symbol in the name@d... is giving me an invalid symbol



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

From: James Texter

Sent: Thursday, April 06, 2000 8:29 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





I have used this at my business, and it is pretty simple really, assuming

you are running an NT machine, as this object is not supported by PWS.  Here

is a code sample



Dim myMail	'Variable for the mail object

Dim msgBody  'String variable to hold the body of the message

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.Subject = "This is the subject line"

myMail.Body = msgBody	'The body of the message

myMail.To = name@d...	'Where the message is going

myMail.Send	'sends the email



This code uses the SMTP protocol, and has worked beautifully for me.  I hope

this helps.



James



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

From: Matthew Lohr

Sent: Wednesday, April 05, 2000 12:47 PM

To: Beginning ASP

Subject: [beginning_asp] Submit using email





I am trying to make a form submitting data via email and post to a database.

So far I have only seen a way to do it bt opening up the users email.  Can I

do this with out the user seeing the email
Message #5 by JAMES <james@g...> on Thu, 6 Apr 2000 10:16:44 -0500
I guess it would depend on the load on the email server.

My messages go out within a second each time.



Look at the Event logs and see if there is any reference to 

any SMTP messages



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

From: Matthew Lohr 

Sent: Thursday, April 06, 2000 10:02 AM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





I added this

mymail.From = "mlohr@t..."



I am no longer getting entries in the badmail directory but still no

delivery or does this process take awhile as someone else on the beginning

list said



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

From: JAMES 

Sent: Thursday, April 06, 2000 10:55 AM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





Looking at your code, I do not see the FROM option.

Try adding that with an email address...



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 5:51 PM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





for the sender it is saying sender unspecified



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

From: JAMES

Sent: Thursday, April 06, 2000 10:25 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Look at the header information on the emails to see if

anything is missing.



Also, make sure your SMTP service is running on the server.





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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 9:11 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





ok there are messages now what



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

From: JAMES

Sent: Thursday, April 06, 2000 10:08 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





On the Server , look at the folder located at:

\InetPub\Mailroot\Badmail



and



\InetPub\Mailroot\Queue



See if there are any email messages there.



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:47 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Thanks.  Already got that part but now it seems to work but I am not getting

the emails



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

From: JAMES

Sent: Thursday, April 06, 2000 9:46 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Put quotes around it:

"name@d..."



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:02 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





the at symbol in the name@d... is giving me an invalid symbol



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

From: James Texter

Sent: Thursday, April 06, 2000 8:29 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





I have used this at my business, and it is pretty simple really, assuming

you are running an NT machine, as this object is not supported by PWS.  Here

is a code sample



Dim myMail	'Variable for the mail object

Dim msgBody  'String variable to hold the body of the message

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.Subject = "This is the subject line"

myMail.Body = msgBody	'The body of the message

myMail.To = name@d...	'Where the message is going

myMail.Send	'sends the email



This code uses the SMTP protocol, and has worked beautifully for me.  I hope

this helps.



James



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

From: Matthew Lohr

Sent: Wednesday, April 05, 2000 12:47 PM

To: Beginning ASP

Subject: [beginning_asp] Submit using email





I am trying to make a form submitting data via email and post to a database.

So far I have only seen a way to do it bt opening up the users email.  Can I

do this with out the user seeing the email

---

Message #6 by "Matthew Lohr" <mlohr@t...> on Thu, 6 Apr 2000 11:13:26 -0400
Alright before we waste anymore time.  I checked to see if my SMTP service

was running and it wasn't.  Started it up and boom all the messages came

through.  The service is set to start automatically for some reason it

stopped...





Thanks for all your help



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

From: JAMES 

Sent: Thursday, April 06, 2000 10:55 AM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





Looking at your code, I do not see the FROM option.

Try adding that with an email address...



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 5:51 PM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





for the sender it is saying sender unspecified



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

From: JAMES

Sent: Thursday, April 06, 2000 10:25 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Look at the header information on the emails to see if

anything is missing.



Also, make sure your SMTP service is running on the server.





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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 9:11 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





ok there are messages now what



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

From: JAMES

Sent: Thursday, April 06, 2000 10:08 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





On the Server , look at the folder located at:

\InetPub\Mailroot\Badmail



and



\InetPub\Mailroot\Queue



See if there are any email messages there.



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:47 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Thanks.  Already got that part but now it seems to work but I am not getting

the emails



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

From: JAMES

Sent: Thursday, April 06, 2000 9:46 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Put quotes around it:

"name@d..."



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:02 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





the at symbol in the name@d... is giving me an invalid symbol



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

From: James Texter

Sent: Thursday, April 06, 2000 8:29 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





I have used this at my business, and it is pretty simple really, assuming

you are running an NT machine, as this object is not supported by PWS.  Here

is a code sample



Dim myMail	'Variable for the mail object

Dim msgBody  'String variable to hold the body of the message

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.Subject = "This is the subject line"

myMail.Body = msgBody	'The body of the message

myMail.To = name@d...	'Where the message is going

myMail.Send	'sends the email



This code uses the SMTP protocol, and has worked beautifully for me.  I hope

this helps.



James



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

From: Matthew Lohr

Sent: Wednesday, April 05, 2000 12:47 PM

To: Beginning ASP

Subject: [beginning_asp] Submit using email





I am trying to make a form submitting data via email and post to a database.

So far I have only seen a way to do it bt opening up the users email.  Can I

do this with out the user seeing the email













Message #7 by JAMES <james@g...> on Thu, 6 Apr 2000 14:05:41 -0500
Glad to hear it's working. I was running out of suggestions!



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

From: Matthew Lohr 

Sent: Thursday, April 06, 2000 10:13 AM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





Alright before we waste anymore time.  I checked to see if my SMTP service

was running and it wasn't.  Started it up and boom all the messages came

through.  The service is set to start automatically for some reason it

stopped...





Thanks for all your help



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

From: JAMES 

Sent: Thursday, April 06, 2000 10:55 AM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





Looking at your code, I do not see the FROM option.

Try adding that with an email address...



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 5:51 PM

To: ASP CDO

Subject: [asp_cdo] RE: [beginning_asp] RE: Submit using email





for the sender it is saying sender unspecified



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

From: JAMES

Sent: Thursday, April 06, 2000 10:25 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Look at the header information on the emails to see if

anything is missing.



Also, make sure your SMTP service is running on the server.





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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 9:11 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





ok there are messages now what



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

From: JAMES

Sent: Thursday, April 06, 2000 10:08 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





On the Server , look at the folder located at:

\InetPub\Mailroot\Badmail



and



\InetPub\Mailroot\Queue



See if there are any email messages there.



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:47 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Thanks.  Already got that part but now it seems to work but I am not getting

the emails



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

From: JAMES

Sent: Thursday, April 06, 2000 9:46 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





Put quotes around it:

"name@d..."



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

From: Matthew Lohr

Sent: Thursday, April 06, 2000 8:02 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





the at symbol in the name@d... is giving me an invalid symbol



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

From: James Texter

Sent: Thursday, April 06, 2000 8:29 AM

To: Beginning ASP

Subject: [beginning_asp] RE: Submit using email





I have used this at my business, and it is pretty simple really, assuming

you are running an NT machine, as this object is not supported by PWS.  Here

is a code sample



Dim myMail	'Variable for the mail object

Dim msgBody  'String variable to hold the body of the message

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.Subject = "This is the subject line"

myMail.Body = msgBody	'The body of the message

myMail.To = name@d...	'Where the message is going

myMail.Send	'sends the email



This code uses the SMTP protocol, and has worked beautifully for me.  I hope

this helps.



James



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

From: Matthew Lohr

Sent: Wednesday, April 05, 2000 12:47 PM

To: Beginning ASP

Subject: [beginning_asp] Submit using email





I am trying to make a form submitting data via email and post to a database.

So far I have only seen a way to do it bt opening up the users email.  Can I

do this with out the user seeing the email









  Return to Index