hi guys,
below is my configuration for my smtp
after i had done my configuration and i go test the email after that i go to log viewer and I found that the error message which is at the bottom. Please help me how to solve this problem. thanks
```
Server = smtp.gmail.com
Port = 465
Host Email = accelteamtechsupp@gmail.com
SSL = Yes
Enable Authentication = Yes
Username = accelteamtechsupp@gmail.com
Password = xxxxxxxxxxx
Domain = gmail.com
Email Format = HTML
Email Template Root = ~/templates
```
```
System.Net.Mail.SmtpException: The operation has timed out.
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BugNET.Administration.Host.UserControls.MailSettings.TestEmailSettings_Click(Object sender, EventArgs e)
```
Comments: HI ddubeaud, I had dobule check my gmail account settings which only can enable the pop3 only. I had tested by using the 587 and disable the SSL, and i had get this error message for STARTTTLS. how do issue a STARTTLS command? and if i want to use 465, any others setting do i need to configure? ``` System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. dl6sm15267349pdb.30 - gsmtp at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at BugNET.Administration.Host.UserControls.MailSettings.TestEmailSettings_Click(Object sender, EventArgs e) ```
below is my configuration for my smtp
after i had done my configuration and i go test the email after that i go to log viewer and I found that the error message which is at the bottom. Please help me how to solve this problem. thanks
```
Server = smtp.gmail.com
Port = 465
Host Email = accelteamtechsupp@gmail.com
SSL = Yes
Enable Authentication = Yes
Username = accelteamtechsupp@gmail.com
Password = xxxxxxxxxxx
Domain = gmail.com
Email Format = HTML
Email Template Root = ~/templates
```
```
System.Net.Mail.SmtpException: The operation has timed out.
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BugNET.Administration.Host.UserControls.MailSettings.TestEmailSettings_Click(Object sender, EventArgs e)
```
Comments: HI ddubeaud, I had dobule check my gmail account settings which only can enable the pop3 only. I had tested by using the 587 and disable the SSL, and i had get this error message for STARTTTLS. how do issue a STARTTLS command? and if i want to use 465, any others setting do i need to configure? ``` System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. dl6sm15267349pdb.30 - gsmtp at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at BugNET.Administration.Host.UserControls.MailSettings.TestEmailSettings_Click(Object sender, EventArgs e) ```