Reply to b64 2: 334 blablabla Code :334
Reply to b64 3: 235 2.0.0 OK Code :235
but the message is not sended.
Here is my VB code:
Imports AegisImplicitMail
Public Class MailerAegis
Inherits Mailer
Private CSmtp As MimeMailer
Public Sub New(Interval As Integer, ConfigPath As String, Domain As String)
MyBase.New(Interval, ConfigPath, Domain)
End Sub
Public Overrides Sub Close()
CSmtp.Dispose()
End Sub
Public Overrides Sub Open()
CSmtp = New MimeMailer("smtp.mail.yahoo.com", 465)
CSmtp.User = "user@yahoo.com"
CSmtp.Password = "********"
CSmtp.SslType = SslMode.Ssl
CSmtp.AuthenticationMode = AuthenticationType.Base64
End Sub
Public Overrides Sub Send(MailAddresses As List(Of String), Subject As String, Body As String)
Dim mail As New MimeMailMessage()
mail.From = New MimeMailAddress("user@yahoo.com", "From")
For Each MailAddress As String In MailAddresses
mail.To.Add(MailAddress)
Next
mail.Subject = Subject
mail.Body = Body
mail.IsBodyHtml = True
CSmtp.SendMail(mail)
End Sub
End Class
Last edit: kikoloche 2015-04-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I receive this message in Output
Reply to b64 2: 334 blablabla Code :334
Reply to b64 3: 235 2.0.0 OK Code :235
but the message is not sended.
Here is my VB code:
Imports AegisImplicitMail
Public Class MailerAegis
Inherits Mailer
End Class
Last edit: kikoloche 2015-04-17
Are you sure your server is using Base64 authentication?
In my case, i get "250 2.1.0 OK" as response from SendMail(...), but no mail sended.