Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

SMTP - Gmail issue 1 week 1 day ago #1

  • BaskarIyer
  • BaskarIyer's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
Hi, my website is on webtrees 2.1.2

After following the instruction, the test mail failed. below is the message from the server log.. looking forward to your help to configure the email setup for webtrees.

MailService: Connection could not be established with host "ssl://smtp.gmail.com:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number


Many Thanks
Baskar

Please Log in or Create an account to join the conversation.

SMTP - Gmail issue 1 week 1 day ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 15847
What are your mail settings?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

SMTP - Gmail issue 1 week 1 day ago #3

  • BaskarIyer
  • BaskarIyer's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
Please see attached images for your ref.

1. I did generate a password for the app with the name organicwayfarm.in/webtrees
2. I did try to generate test mail, but it failed with the message I mentioned above.

PS: Though I saved the generated password, when I reopen the settings, webtrees is not displaying the stored password. I'm not sure whether this is expected behavior. Please let me know if you need additional details.

Attachments:

Please Log in or Create an account to join the conversation.

SMTP - Gmail issue 1 week 1 day ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 15847
For the "secure connection" setting, try STATTLS.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

SMTP - Gmail issue 1 week 1 day ago #5

  • BaskarIyer
  • BaskarIyer's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
Hi, still now luck..

see the new error message..

MailService: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`*.a2hosting.com' did not match expected CN=`smtp.gmail.com'

settings


Thanks
Attachments:

Please Log in or Create an account to join the conversation.

SMTP - Gmail issue 6 days 15 hours ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 15847
The config settings look OK. I don't use the "@gmail.com" in the username.

But I suspect the issue is to do with your server configuration.

Searching for this error message gives lots of pages where people needed to change a setting in their server's control panel.

e.g. forums.cpanel.net/threads/issue-sending-...gh-3rd-party.554811/
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum