Sample script for sending mail with Jmail Framework 3.5

From EN Ikoula wiki
Revision as of 16:19, 15 October 2015 by Ikbot (talk | contribs) (Created page with "<br /> This article has been created by an automatic translation software. You can view the article source :fr:Exemple de script d'envoi de mail avec Jmail en Framework 3.5...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽


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



You are not allowed to post comments.