Email issues

eliteel5

Member
Messages
66
Reaction score
1
Points
8
Hi all I'm having issues with email

Round cube reports email sent but this is not being received and php mailer script which worked beautifully a few weeks ago is equally failing


Having checked ssl certificate all seems ok

Screenshot2.png

How ever this the report I am receiving using php mailer and test script


Any ideas

Code:
2025-08-14 15:42:08 SERVER -> CLIENT: 220 x12.x10hosting.com ESMTP Exim 4.94 Thu, 14 Aug 2025 11:42:08 -0400
2025-08-14 15:42:08 CLIENT -> SERVER: EHLO eliteprojects.x10host.com
2025-08-14 15:42:08 SERVER -> CLIENT: 250-x12.x10hosting.com Hello x12.x10hosting.com [198.91.81.12]250-SIZE 52428800250-8BITMIME250-PIPELINING250-X_PIPE_CONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2025-08-14 15:42:08 CLIENT -> SERVER: STARTTLS
2025-08-14 15:42:08 SERVER -> CLIENT: 220 TLS go ahead
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=`x12.x10hosting.com' did not match expected CN=`mail.eliteprojects.x10host.com'
2025-08-14 15:42:08 CLIENT -> SERVER: QUIT
2025-08-14 15:42:08
2025-08-14 15:42:08
SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=`x12.x10hosting.com' did not match expected CN=`mail.eliteprojects.x10host.com'
Message could not be sent. Mailer Error: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=`x12.x10hosting.com' did not match expected CN=`mail.eliteprojects.x10host.com' SMTP server error: QUIT command failed Detail: �/��lH�P�'#��-��Y��fJ�221 x12.x10hosting.com closing connection
 

mrburnsx

Community Advocate
Community Support
Messages
745
Reaction score
71
Points
28
You can either configure PHPMailer to ignore it and override it or configure Host variable in PHPMailer script to x12.x10hosting.com
 

eliteel5

Member
Messages
66
Reaction score
1
Points
8
Thanking you for getting back to me I managed get past this by setting the options fields

See below


PHP:
 $mail->SMTPOptions = [
        'ssl' => [
            'verify_peer'       => false,
            'verify_peer_name'  => false,
            'allow_self_signed' => true
        ]
    ];

This worked and all back to normal but not sure why round cube not sending mail ( Its should be as was working before )
Any ideas on this or is this possibly systems failure your side reference sending to gmail address

We are never quite sure as to what they do these days

There is another problem that i need you to check on if possible and that is folder just magically disappeared from domain, namely

m_jscripts that contains JavaScript

Ive no idea as to why , as this has never happened before
Perhaps my mistake and if so my apologies as have been working some long hours as of late on this site so could have deleted this by accident

I wonder if you could just keep check , just in case there is something amiss and please advise me or management if there is anything odd

Fortunately I kept back up in three locations just in case

Thanking you all once again for excellent service and will be in touch soon to upgrade etc

Have a good evening
 
Last edited:

mrburnsx

Community Advocate
Community Support
Messages
745
Reaction score
71
Points
28
Can you create that folder again and let it sit and see what happens.

When in round cube make sure delivery status notification is on and try sending an email, to see if a status message comes through.
 

eliteel5

Member
Messages
66
Reaction score
1
Points
8
Can you create that folder again and let it sit and see what happens.

When in round cube make sure delivery status notification is on and try sending an email, to see if a status message comes through.
Morning (UK time )

I have recreated the folder and contents

The the directory you would looking at is named m_jscripts

This has only ever happened once as of yesterday which is why i have found this odd as have never had any issue of that type at all with yourselves

As stated it could be myself being overly tired as this is not all I do then again its not in my nature to make a mistake like this

Other self induced issues , then yes , lol we all do that but delete a folder from a website entails more thought that the norm put it that way

Thanking you and much appreciated

Mark
 
Last edited:
Top