Quote:
|
Originally Posted by manu_ASP
The reason why is going to the bulk mail is because you are probably not providing enough information when filling your mail settings before sending the email. I have seen the mail going to Bulk when you omit the real name after the email address of the destination.
Post your code if you still have problems so people can help you faster.
|
Hello sir,
I am delighted to your quick reply
after submit a form .(tellafriend.asp)
action goes to this page( sendmail.asp)
'-----code goes here----------
<%@ Language=VBScript %>
<%
yourname=Request.Form("txtYourName") 'form variable
'response.Write yourname
'id=Request.Form("txtID") 'form variable
tomail=Request.Form("txtToEmail") ' form variable
'response.Write tomail
yourFriendName=Request.Form("txtYourFriendName") ' form variable
'response.Write yourFriendName
friendemail2=Request.Form("FriendEmail2")
'response.Write friendemail2
friendemail3=Request.Form("FriendEmail3")
'response.write friendemail3
friendemail4=Request.Form("FriendEmail4")
'response.Write friendemail4
Dim FromName, FromEmail
Dim Subject, Message, Mail
FromEmail = "chandra@fusioninfoway.com"
Subject = " Mail from " & YourName
'----------begin message stuff --------------------
HTML = HTML & "<HTML>"
HTML = HTML & "<HEAD>"
HTML = HTML & "</HEAD>"
HTML = HTML & " <table width='75%' border='0'>"
HTML = HTML & " <tr>"
HTML = HTML & " </font> visit
www.chandra.com
HTML = HTML & "</HTML>"
'--------------end message stuff-----------------
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "mail.fusioninfoway.com"
Mail.Port=25
Mail.From = "chandra@fusioninfoway.com"
Mail.FromName = yourname
Mail.AddAddress (tomail)
mail.AddCC(friendEmail2)
mail.AddCC(friendEmail3)
mail.AddCC(friendEmail4)
Mail.Subject = Subject
Mail.IsHTML = True
Mail.Body = HTML
'Mail.Body = Message
Mail.Send
%>
thankyou
chandrashaker