I am sending email using my domain account [email protected] to gmail,yahoo,hotmail and other domain emails like [email protected] , my credentials are 100% correct because they are sending emails to all other accounts except this domain [email protected] , yesterday i check that my method also send an email to that address but today it is not sending neither it is giving any error ? what would be the cause ?
my code is as below
Private Sub SendHtmlFormattedEmail(ByVal recepientEmail As String, ByVal subject As String, ByVal body As String)
Dim mailMessage As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage
Try
mailMessage.From = New MailAddress(ConfigurationManager.AppSettings("UserName"))
mailMessage.Subject = subject
mailMessage.Body = body
mailMessage.IsBodyHtml = True
mailMessage.To.Add(New MailAddress(recepientEmail))
Dim files As List(Of HttpPostedFile) = DirectCast(Cache(Me.Key), List(Of HttpPostedFile))
For Each file As HttpPostedFile In files
mailMessage.Attachments.Add(New Attachment(file.InputStream, Path.GetFileName(file.FileName), file.ContentType))
Next
mailMessage.From = New MailAddress("[email protected]")
Dim smtp As SmtpClient = New SmtpClient()
smtp.Host = "202.165.228.15"
smtp.EnableSsl = False
smtp.Credentials = New System.Net.NetworkCredential("[email protected]", "Pakistan_123")
smtp.Port = 2525
smtp.Send(mailMessage)
Catch ex As Exception
ex.Message.ToString()
End Try
End Sub
Mark TaborPosted Jul 28, 2016, 3:12 AM
Here is your quarantine summary for 7/27/2016 - 7/28/2016:
system not to identify similar messages as spam.
Subject
Sender
Date
Action
Record Accepted
[email protected]
7/28/2016 6:59 AM
Deliver
Record Accepted
[email protected]
7/28/2016 6:44 AM
Deliver
Record Accepted
[email protected]
7/28/2016 6:44 AM
Deliver
Record Accepted
[email protected]
7/28/2016 6:41 AM
Deliver
Record Accepted
[email protected]
7/28/2016 6:36 AM
Deliver
Mark TaborPosted Jul 28, 2016, 2:58 AM
Bikesh Srivastavacan i use my domain email address with exchange server? like [email protected] ?
Mark TaborPosted Jul 28, 2016, 2:50 AM
" & Environment.NewLine
""
" + AcceptComments & """ " + Environment.NewLine
" & " Regards," & " " & "
" & "Plan Pakistan RBME TEAM" + "" & vbCrLf
Bikesh SrivastavaPosted Jul 28, 2016, 2:39 AM
Rajeesh MenothPosted Jul 28, 2016, 2:36 AM