Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp script to send mail works with web based e-mail but not outlook

Status
Not open for further replies.

TeKpHrEaK

Programmer
Jan 13, 2000
8
US
i have a page set up that collects info from prospective clients via a form and the action of the form is an asp script. the script works it collects the data and sends it off to the specified e-mail address, but when the e-mail is received in a program like outlook nothing shows up. however i also tested it sending it to a yahoo account and it comes through fine. and yes i did turn on html format in my outlook. i am thinking that maybe i am missing something in the script but i am not sure. here is the script:<br><br>&lt;%@ Language=VBScript%&gt;<br>&lt;%<br>Set TheMail = Server.CreateObject(&quot;CDONTS.NewMail&quot;)<br>TheMessage = &quot;From: &quot; & Request.Form(&quot;name&quot;) & vbnewline &_<br>Request.Form(&quot;first_name&quot;) & vbnewline &_<br>Request.Form(&quot;last_name&quot;) & vbnewline &_<br>Request.Form(&quot;phone&quot;) & vbnewline &_<br>Request.Form(&quot;contact_time&quot;) & vbnewline &_<br>Request.Form(&quot;class&quot;) & vbnewline &_<br>Request.Form(&quot;comments&quot;)<br>TheMail.Send Request.Form(&quot;email&quot;),&quot;<A HREF="mailto:tekphreak@tek-tips.com">tekphreak@tek-tips.com</A>&quot;,TheMessage<br>Set TheMail = Nothing<br>%&gt;<br><br>thank u anyone in advance for help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top