<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'ASP Mail' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'ASP Mail' posted on the 'Active Server Pages' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 08:21:52 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 08:21:52 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>ASP Mail</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286758/asp-mail/</link>
      <description>below is my asp code for send mail through the form, but when i testing,only the last line of code working that is redirect. can anyone help me to check any error?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%&lt;br /&gt;
' Declare Variables&lt;br /&gt;
Dim objNewMail, strFilePath&lt;br /&gt;
&lt;br /&gt;
' Create Instance of NewMail Object&lt;br /&gt;
Set objNewMail = Server.CreateObject("CDONTS.NewMail")&lt;br /&gt;
' Set Email Priority (1 = Normal)&lt;br /&gt;
objNewMail.Importance = 1&lt;br /&gt;
' Send plain text email&lt;br /&gt;
objNewMail.BodyFormat = 1&lt;br /&gt;
' Senders email address&lt;br /&gt;
objNewMail.From = request.querystring("name")&lt;br /&gt;
' Recipients email address&lt;br /&gt;
objNewMail.To = "techsupport@allit.com.my"&lt;br /&gt;
' Email Subject&lt;br /&gt;
objNewMail.Subject = "enquiry"&lt;br /&gt;
' Email Body&lt;br /&gt;
objNewMail.Body =  request.querystring("enquiry")&lt;br /&gt;
' Send Email&lt;br /&gt;
objNewMail.Send()&lt;br /&gt;
' Destroy object to release it from memory&lt;br /&gt;
Set objNewMail = Nothing&lt;br /&gt;
&lt;br /&gt;
response.Redirect("thankyou.htm")&lt;br /&gt;
%&amp;gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286758/asp-mail/</guid>
      <pubDate>Wed, 29 Dec 2004 03:55:30 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: ASP Mail</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286759/re-asp-mail/#286759</link>
      <description>: below is my asp code for send mail through the form, but when i testing,only the last line of code working that is redirect. can anyone help me to check any error?&lt;br /&gt;
: &lt;br /&gt;
: &amp;lt;%&lt;br /&gt;
: ' Declare Variables&lt;br /&gt;
: Dim objNewMail, strFilePath&lt;br /&gt;
: &lt;br /&gt;
: ' Create Instance of NewMail Object&lt;br /&gt;
: Set objNewMail = Server.CreateObject("CDONTS.NewMail")&lt;br /&gt;
: ' Set Email Priority (1 = Normal)&lt;br /&gt;
: objNewMail.Importance = 1&lt;br /&gt;
: ' Send plain text email&lt;br /&gt;
: objNewMail.BodyFormat = 1&lt;br /&gt;
: ' Senders email address&lt;br /&gt;
: objNewMail.From = request.querystring("name")&lt;br /&gt;
: ' Recipients email address&lt;br /&gt;
: objNewMail.To = "techsupport@allit.com.my"&lt;br /&gt;
: ' Email Subject&lt;br /&gt;
: objNewMail.Subject = "enquiry"&lt;br /&gt;
: ' Email Body&lt;br /&gt;
: objNewMail.Body =  request.querystring("enquiry")&lt;br /&gt;
: ' Send Email&lt;br /&gt;
: objNewMail.Send()&lt;br /&gt;
: ' Destroy object to release it from memory&lt;br /&gt;
: Set objNewMail = Nothing&lt;br /&gt;
: &lt;br /&gt;
: response.Redirect("thankyou.htm")&lt;br /&gt;
: %&amp;gt;&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Check your mailroot folder to see whther the mail is going to any of the folders(drop/queue/badmail etc.) inside mailroot.&lt;br /&gt;
&lt;br /&gt;
Also ,the from mailid has to be a valid one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286759/re-asp-mail/#286759</guid>
      <pubDate>Wed, 29 Dec 2004 04:01:24 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: ASP Mail</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286820/re-asp-mail/#286820</link>
      <description>&lt;br /&gt;
i had check, is no error over this. is there any other method to send mail with form ?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286820/re-asp-mail/#286820</guid>
      <pubDate>Wed, 29 Dec 2004 13:12:22 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: ASP Mail</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286861/re-asp-mail/#286861</link>
      <description>: &lt;br /&gt;
: i had check, is no error over this. is there any other method to send mail with form ?&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
yes there are some free components,which you have to install in your system.ASPMail,I think is there,do a google for it.&lt;br /&gt;
&lt;br /&gt;
Your code should have worked,dont know why it doesnt.maybe there is something wrong with the configurations...&lt;br /&gt;
&lt;br /&gt;
If you are using XP,you have to use CDO.Message instead of CDONTS.Newmail..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286861/re-asp-mail/#286861</guid>
      <pubDate>Wed, 29 Dec 2004 21:42:09 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: ASP Mail</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286869/re-asp-mail/#286869</link>
      <description>this is not my machine, i am remote to my hosting. i dont know what OS of the machine. Maybe can u try to go there and check?&lt;br /&gt;
www.allit.com.my/test/wwwroot/customer.asp&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286869/re-asp-mail/#286869</guid>
      <pubDate>Thu, 30 Dec 2004 00:53:43 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: ASP Mail</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286968/re-asp-mail/#286968</link>
      <description>: this is not my machine, i am remote to my hosting. i dont know what OS of the machine. Maybe can u try to go there and check?&lt;br /&gt;
: www.allit.com.my/test/wwwroot/customer.asp&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then you could ask the hosting company why this is happening and if there are other options available.&lt;br /&gt;
&lt;br /&gt;
You do have a mailid called techsupport@allit.com.my ??&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286968/re-asp-mail/#286968</guid>
      <pubDate>Thu, 30 Dec 2004 22:53:46 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: ASP Mail</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286976/re-asp-mail/#286976</link>
      <description>yes i have.&lt;br /&gt;
Thanks for helping, i received your testing email already&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286976/re-asp-mail/#286976</guid>
      <pubDate>Fri, 31 Dec 2004 03:21:17 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Re: ASP Mail</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286978/re-asp-mail/#286978</link>
      <description>: yes i have.&lt;br /&gt;
: Thanks for helping, i received your testing email already&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I tried your code from here,giving hard coded values instead of those request values,and its working fine.So your code is fine.&lt;br /&gt;
&lt;br /&gt;
Hope you get it to work.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286978/re-asp-mail/#286978</guid>
      <pubDate>Fri, 31 Dec 2004 03:43:22 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
    <item>
      <title>Just to be sure,...</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/286758/286988/just-to-be-sure/#286988</link>
      <description>: : yes i have.&lt;br /&gt;
: : Thanks for helping, i received your testing email already&lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: I tried your code from here,giving hard coded values instead of those request values,and its working fine.So your code is fine.&lt;br /&gt;
: &lt;br /&gt;
: Hope you get it to work.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste this at the top of your page,before all the email code:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Response.Write "Name=" &amp;amp; request.querystring("name") &amp;amp;"&amp;lt;br&amp;gt;"
Response.Write "Enquiry=" &amp;amp;  request.querystring("enquiry") 
Response.End
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Do you see what you expected?&lt;br /&gt;
otherwise your code should work.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/286758/286988/just-to-be-sure/#286988</guid>
      <pubDate>Fri, 31 Dec 2004 04:46:38 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
  </channel>
</rss>