Sample script for sending mail with Jmail Framework 3.5

From EN Ikoula wiki
Revision as of 16:56, 4 February 2020 by Vkoubiaharoue8c72 (talk | contribs)
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

en:Sample script for sending mail with Jmail Framework 3.5 he:דוגמת script עבור שליחת דואר עם Jmail Framework 3.5 ru:Пример сценария для отправки почты с Jmail Framework 3.5 ja:Jmail フレームワーク 3.5 を使用してメールを送信するためのサンプル スクリプト ar:عينة البرنامج النصي لإرسال البريد مع جميل Framework 3.5 zh:发送邮件与 Jmail Framework 3.5 的示例脚本 ro:Script-ul de probă pentru a trimite mail cu Jmail Framework 3.5 pl:Przykładowy skrypt do wysyłania poczty z Jmail Framework 3.5 de:Beispielskript zum Senden von Nachrichten mit Jmail Framework 3.5 nl:Voorbeeld van een script voor het verzenden van e-mail met Jmail Framework 3.5 it:Script di esempio per l'invio di posta con 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

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.

<syntaxhighlight lang="asp" highlight="4-7,9-13,20"> set msg = Server.CreateOBject( "JMail.Message" ) msg.Logging = true msg.silent = true msg.From = "adresse@de-lexpediteur.com" msg.FromName = "Nom de L'expéditeur" msg.MailServerUserName="adresse@de-lexpediteur.com" msg.MailServerPassword="M0tDeP@ss3" msg.AddRecipient zadresse msg.AddRecipientBCC "adresse@du-destinataire.com" msg.ContentType = "text/html" msg.Subject = "Sujet de votre email" msg.body = "Contenu de votre email" if not msg.Send("mail.votredomaine.com:587" ) then Response.write "

" & msg.log & "

else
Response.write "Message sent succesfully!"
end if



You are not allowed to post comments.