Simply.com is available in english

Αποστολή mail με το συστατικό JMail

Μπορείτε να χρησιμοποιήσετε το στοιχείο JMail για να στέλνετε email μέσω websmtp.simply.com.

Ακολουθεί ένα παράδειγμα για το πώς γίνεται.

<%
set msg = Server.CreateOBject("JMail.Message")
msg.Logging = true
msg.silent = true
msg.Charset = "UTF-8"
msg.From = "admin@xxxxx.com"
msg.FromName = "admin@xxxx.com"
msg.AddRecipient "test@ue-example.com"
msg.Subject = "Your subject"
msg.Body = "Your message"
msg.MailServerUserName = "admin@xxxx.com"
msg.MailServerPassword = "xxxxx"
 
msg.Send("websmtp.simply.com:587")

Response.write "<pre>" & msg.log & "</pre>"

%>

Άρθρο από την κατηγορία υποστήριξης: ASP & ASP.NET

Άλλα σχετικά άρθρα