Rate this article :
2/5 | 7 opinion
This article was useful to you ?
Yes
No
Vous avez noté 0 étoile(s)
Sommaire
Procédure
1. To access the logs for the PHPMail() function on your shared hosting, connect to the management interface for your web hosting and click on the"Apache and PHP logs" button.
2. Go to the bottom of the page, to the"Logs of mail sent using the PHP Mail() function" section to find out more about the sending error.
SpamAssassin runs a number of tests on your messages before they are sent. Depending on the results, a score is assigned to your message.
If the score exceeds a defined threshold, the email is considered spam. A filter is then created to direct the message to the recycle bin. All messages must pass through SpamAssassin before being sent. SpamAssassin sets two new headers in the event of Spam: X-Spam-Status and X-Spam-Level.
The logs allow you to see where the problem comes from and the reason why your email has been considered as Spam. The most common reasons are
The log file gives you an overview of the error as well as its source ( incorrect email, coding problem on one of your PHP web pages , for example). When there is too much spam coming from your website, the PHPMail() function may be automatically deactivated for a predefined period.
To obtain the PHP file that caused this blocking/sending, you will need to search for the term X-PHP-Originating-Script in the email that caused the error.
You can now access the logs for the PHPMail() function on your hosting mutuailised with LWS. The logs of the PHPMail() function give you an indication of errors when sending emails.
Don't hesitate to share your comments and questions!
Rate this article :
2/5 | 7 opinion
This article was useful to you ?
Yes
No
0mn reading
Multi-domain - Putting several domains on the same web hosting service
1mn reading
Is it possible to remove the RSpamD anti-spam function on shared hosting?
1mn reading
How do I create a cron job from the LWS Panel?