Aspmail
Saludos Expertos:
Tengo el siguiente código que me envía mails a través de asp con CDONTS y en el servidor que tengo alojada la Web solo permite USAR ASPMAIL.
Podríais indicarme que tengo que modificar para que funcione con ASPMAIL.
Gracias..
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = "orders@your_address.com"
objNewMail.To = email
objNewMail.Subject = "Your order from your_address.com"
strBody = "Dear "&firstname&","&Vbcrlf&Vbcrlf
strBody=strBody&"Thank you for placing your order with your_address.com. We will process it as soon as possible." & vbcrlf& vbcrlf
strBody=strBody&"Items in stock will be delivered the next working day. We aim to deliver all orders within 7 working days." & vbcrlf& vbcrlf
strBody=strBody&"We will email when your order is about to be delivered." & vbcrlf & vbcrlf
strBody=strBody& "If you have any questions about your order, please the use the following contact details. "& vbcrlf& vbcrlf
strBody=strBody&" Your order reference is : x000-"&order_id&"-111"&vbcrlf&Vbcrlf
strBody=strBody& " your_address "& vbcrlf
strBody=strBody& " your_address " & vbcrlf
strBody=strBody& " your_address " & vbcrlf
strBody=strBody& " your_address " & vbcrlf
strBody=strBody& " your_address " & vbcrlf & vbcrlf
strBody=strBody& "Phone: your_phone" & vbcrlf
strBody=strBody& "Fax: your fax " & vbcrlf
strBody=strBody& "Email: your email" & vbcrlf & vbcrlf
strBody=strBody&"__________________________________________"&vbcrlf&Vbcrlf
strBody=strBody&"your_address.com"&vbcrlf
strBody=strBody&"http://www.your_address.com/"
objNewMail.Body=strBody
objNewMail.Send
Set objNewMail = Nothing
end if
Response.Redirect "thanks.asp"
%><!-- #include file="inc/cleanupinc.asp" -->
Tengo el siguiente código que me envía mails a través de asp con CDONTS y en el servidor que tengo alojada la Web solo permite USAR ASPMAIL.
Podríais indicarme que tengo que modificar para que funcione con ASPMAIL.
Gracias..
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = "orders@your_address.com"
objNewMail.To = email
objNewMail.Subject = "Your order from your_address.com"
strBody = "Dear "&firstname&","&Vbcrlf&Vbcrlf
strBody=strBody&"Thank you for placing your order with your_address.com. We will process it as soon as possible." & vbcrlf& vbcrlf
strBody=strBody&"Items in stock will be delivered the next working day. We aim to deliver all orders within 7 working days." & vbcrlf& vbcrlf
strBody=strBody&"We will email when your order is about to be delivered." & vbcrlf & vbcrlf
strBody=strBody& "If you have any questions about your order, please the use the following contact details. "& vbcrlf& vbcrlf
strBody=strBody&" Your order reference is : x000-"&order_id&"-111"&vbcrlf&Vbcrlf
strBody=strBody& " your_address "& vbcrlf
strBody=strBody& " your_address " & vbcrlf
strBody=strBody& " your_address " & vbcrlf
strBody=strBody& " your_address " & vbcrlf
strBody=strBody& " your_address " & vbcrlf & vbcrlf
strBody=strBody& "Phone: your_phone" & vbcrlf
strBody=strBody& "Fax: your fax " & vbcrlf
strBody=strBody& "Email: your email" & vbcrlf & vbcrlf
strBody=strBody&"__________________________________________"&vbcrlf&Vbcrlf
strBody=strBody&"your_address.com"&vbcrlf
strBody=strBody&"http://www.your_address.com/"
objNewMail.Body=strBody
objNewMail.Send
Set objNewMail = Nothing
end if
Response.Redirect "thanks.asp"
%><!-- #include file="inc/cleanupinc.asp" -->
1 Respuesta
Respuesta de manusoftar
1