Jump to content

Unable to send email using PHP SMTP.


craziks

Recommended Posts

When i used, protocol: mail then it works well(after this: )

But it sends the mail on spam folder.

But i figured out that using protocol smtp, it will send to primary mail not in spam folder but when i used protocol:smtp on port 465 it shows following error:

The following SMTP error was encountered: 111 Connection refused. Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.

How to solve the issue 😔

IMG_20230803_234837_888.png

Link to comment
Share on other sites

15 hours ago, wolstech said:

Try port 587 instead. We block most outbound ports here by default and I'm not sure 465 is allowed as nothing of ours uses it.

Tried 587 it is sending for protocol:mail   but for protocol:smtp  error:

Warning --> fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:

error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol /home/freemock.helioho.st/httpdocs/system/libraries/Email.php 2069
ERROR - 2023-08-05 10:50:25 --> Severity: Warning --> fsockopen(): Failed to enable crypto /home/freemock.helioho.st/httpdocs/system/libraries/Email.php 2069
ERROR - 2023-08-05 10:50:25 --> Severity: Warning --> fsockopen(): unable to connect to tls://smtp.gmail.com:587 (Unknown error) /home/freemock.helioho.st/httpdocs/system/libraries/Email.php 2069

 

Link to comment
Share on other sites

16 hours ago, wolstech said:

Try port 587 instead. We block most outbound ports here by default and I'm not sure 465 is allowed as nothing of ours uses it.

It's still not sending email verification link to Gmail users but sending to temp mail users . Even it's sending forgot password mail to all email users without link only password mentioned in mail.

I figured out  mail contains link and send from heliohost is blocked by Gmail if protocol is mail , any solution

Link to comment
Share on other sites

Gmail will sometimes refuse email mentioning a helioho.st or heliohost.us domain. This is because we also have users who try to host illegal stuff like phishing. We remove the abuse as soon as we find it, but we have no control over gmail’s decision to block our domains anyway.

If this is an issue, I’d suggest using your account with an external domain like one from eu.org instead. Their domains tend to be more reputable as they’re manually reviewed when assigned, which helps stop people from registering abusive domains.

  • Thanks 1
Link to comment
Share on other sites

On 8/5/2023 at 5:46 PM, wolstech said:

Gmail will sometimes refuse email mentioning a helioho.st or heliohost.us domain. This is because we also have users who try to host illegal stuff like phishing. We remove the abuse as soon as we find it, but we have no control over gmail’s decision to block our domains anyway.

If this is an issue, I’d suggest using your account with an external domain like one from eu.org instead. Their domains tend to be more reputable as they’re manually reviewed when assigned, which helps stop people from registering abusive domains.

I will definitely try but it takes a lot of time to verify by eu.org but thanks for your response. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...