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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP with chillisoft heeeelp

Status
Not open for further replies.

epaleX

Technical User
Jan 20, 2002
1
US
I want to know how can I use asp with sendmail cause my server doesnt have cdonts cause is a linux server with ASP chilisoft the object I want to change for a send mail valid one is:
%
On Error Resume Next
'------------------Modify this section to customize your message
strMsg="Dear " & request.form("Yourfriendname") & "," & vbcrlf & vbcrlf
strMsg=strMsg & request.form("yourname")
strMsg=strMsg & " quiere que veas sus fotos en dnoche.com a " & vbcrlf & vbcrlf
strMsg=strMsg & " & vbcrlf & vbcrlf
strMsg=strMsg & request.form("yourname") & " also says" & vbcrlf & vbcrlf
strMsg=strMsg & request.form("message") & vbcrlf & vbcrlf
strMsg=strMsg & "si tu no sabes " & request.form("yourname")
strMsg=strMsg & ", por favor ignora este mensaje o reportalo a info@dnoche.com"
strMsg=strMsg & vbcrlf & vbcrlf
strMsg=strMsg & "muchos saludos," & vbcrlf
strMsg=strMsg & "dnoche.Com Staff" & vbcrlf
strMsg=Cstr(strMsg)

Set objMail = CreateObject("CDONTS.NewMail")
objMail.From= request.form("youremail") 'Specify sender's address
objMail.To=request.form("Yourfriendemail")
objMail.Subject="ve mi foto en dnoche.com" ' Subject of the message
objMail.Body=strMsg
objMail.Send
Set objMail = nothing


thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top