Sample script for sending mail with Jmail Framework 3.5
pt:Exemplo de script para envio de e-mail Jmail Framework 3.5
es:Script de ejemplo para enviar correo con Jmail Framework 3.5
fr:Exemple de script d'envoi de mail avec Jmail en Framework 3.5
This article has been created by an automatic translation software. You can view the article source here.
Here is an example of functional code in ASP.Net for sending a mail with our hostings Windows integrated auThetication.
Fields bold are to customize depending on your configuration.
set msg = Server.CreateOBject( "JMail.MeSage" )
Msg. Loggi = Tru
Msg.silen = Tru
Msg. Fr = "adresse@de-lexpediteur.com"
Msg. FromNa = "Sender's name "
Msg. MailServerUserNa="adresse@de-lexpediteur.com"
Msg. MailServerPasswo="M0tDeP@ss3"
Msg. AddRecipient(String
Msg. AddRecipientB "adresse@du-destinataire.com"
Msg. ContentTy = "text/HTM"
Msg. Subje = "Subject of your ema"
Msg.bod = "Content of your email"
If not msg. Se("mail.yourname.com :25" ) then
Response.write "
" & Msg.lo & "
"
else
Response.write "Message sent succesfully!"
end if
Enable comment auto-refresher