Giden Posta Sunucusu Kimlik Doğrulaması ile ilgili Ayarlar

Outlook Express (Türkçe) | Outlook Express (İngilizce) | MS Outlook (İngilizce) | Outlook Express MAC (İngilizce) |
ASP/.NET Mail Compenents (Webmaster'lar için)

 
JMail (Dimac Mail Compenent)
  mailObj.MailServerUserName="test@mydomain.com"
mailObj.MailServerPassWord="gizlikelime"
 
  Örnek :
set mailObj = Server.CreateOBject( "JMail.Message" )
mailObj.From = "test@mydomain.com"
mailObj.FromName = "Benim Adım"
mailObj.MailServerUserName="test@mydomain.com"  ' Mail Göndermek için Kullandığınız Email Hesabı
mailObj.MailServerPassWord
="gizlikelime" ' Mail Göndermek için Kullandığınız Email Hesabının Şifresi
mailObj.AddRecipient "alici@alicininDomain.com", "Alıcının Adı"
mailObj.Subject = "Merhaba"
mailObj.Body = "Merhaba" & vbCrLf & vbCrLf & "Nasılsın? ..."
mailObj.Send("mail.mydomain.com")
 
AspEmail (Persits)
  mailObj.Password="gizlikelime"
mailObj.Username ="test@mydomain.com"
 
  Örnek :
Set mailObj = Server.CreateObject("Persits.MailSender")
mailObj.Host ="mail.
mydomain.com"
mailObj.Username ="test@mydomain.com" ' Mail Göndermek için Kullandığınız Email Hesabı
mailObj.Password="gizlikelime"
' Mail Göndermek için Kullandığınız Email Hesabının Şifresi
mailObj.From = "test@mydomain.com"
mailObj.FromName = "Benim Adım"
mailObj.AddAddress "alici@alicininDomain.com", "Alıcının Adı"
mailObj.Subject = "Merhaba"
mailObj.Body = "Merhaba" & vbCrLf & vbCrLf & "Nasılsın? ..."
mailObj.Send
 
.NET (VB)
  mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "test@mydomain.com"
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="gizlikelime"
 
  Örnek :
Dim myMail As SmtpMail

Dim mailObj As New MailMessage
mailObj.From = "test@mydomain.com"
mailObj.To ="alici@alicininDomain.com"
mailObj.Subject ="Merhaba"
mailObj.Body = "Bu Mesaj AspX ile Gönderildi Dil Olarak VB Kullanıldı"
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") =  "test@mydomain.com"
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="gizlikelime"

myMail.SmtpServer =
"mail.mydomain.com"
myMail.Send(mailObj)
 
.NET (C#)
  mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "test@mydomain.com"
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="gizlikelime"
 
  Örnek :
MailMessage mailObj = new MailMessage();
mailObj.To ="alici@alicininDomain.com";
mailObj.From = "test@mydomain.com";
mailObj.Subject ="Merhaba";
mailObj.Body =  "Bu Mesaj AspX ile Gönderildi Dil Olarak C# Kullanıldı";
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1;
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "test@mydomain.com";
mailObj.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="gizlikelime";

SmtpMail.SmtpServer = "mail.mydomain.com";
SmtpMail.Send(mailObj);