showing Error "Failure sending mail." please help me i used port 587 because maximum example 587 used this port how i can know the my mail port or it is right error in this line SMTP.Send(Mail) massage is:- Just "Failure sending mail." ------------------ Imports System.Net.Mail Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Mail As New MailMessage Mail.Subject = "test email" Mail.To.Add("abcd@gmail.com") Mail.From = New MailAddress("abcd@gmail.com") Mail.Body = "test mail test mail 123456789 hi" Dim SMTP As New SmtpClient("smtp.gmail.com") SMTP.EnableSsl = True SMTP.Credentials = New System.Net.NetworkCredential("abcd@gmail.com", "***********************") SMTP.Port = 587 SMTP.Send(Mail) End …

Member Avatar
Member Avatar
+0 forum 1

I'm creating a contact us page for my website, I need all the contact queries to info@mycompany.com. I know how to configure for a gmail server but how do I do it for this?

Member Avatar
Member Avatar
+0 forum 6

Hi I am sending mail using phpmailer. but when i tried to send mail it shows the error SMTP -> ERROR: MAIL not accepted from server: 530 5.7.1 Client was not authenticated The following From address failed: mail@example.com Mailer Error: The following From address failed: mail@example.com SMTP server error: 5.7.1 Client was not authenticated Pls help me to solve this..

Member Avatar
Member Avatar
+0 forum 1

hello, all i have query regarding how to send mail in asp.net using C#.net for that i have use the following code but still not able to send please give me your valuable suggestion [code=C#] System; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Net.Mail; public partial class _Default : System.Web.UI.Page { #region "Send email" protected void btnSendmail_Click(object sender, EventArgs e) { // System.Web.Mail.SmtpMail.SmtpServer is obsolete in 2.0 // System.Net.Mail.SmtpClient is the alternate class for this in 2.0 SmtpClient smtpClient = new SmtpClient(); MailMessage message = new MailMessage(); try { MailAddress fromAddress = new MailAddress(txtEmail.Text, …

Member Avatar
Member Avatar
+0 forum 9

Hi, Is it possible to send an email from SMTP server, for example from do_not_reply@xxxx.xxx.com, without have the server credential (username and password) inside my code? I tried one code, it works, but it send from my email account. Not from SMTP server. I also tested several code but I cant proceed to send the email since it need server credential. And my Symantec popup error like ***Symantec email policy: Your email message was unable to be sent because your mail server rejected the message. 550 5.7.1 Client does not have permissions to send as this sender*** can someone help …

Member Avatar
Member Avatar
+0 forum 1

The End.