Procédure
The emails sent by your site (contact form, WordPress, online store) are sent using PHP’s mail() function, with the sender address mail_php@your-domain. If they no longer arrive, check the items below in order: the “Mail Tracking” tool shows what happened to each sent message, and “Mail Abuse” indicates a possible block. Stop as soon as you have found the cause.
On an LWS Panel hosting account, the address mail_php@your-domain is automatically created by LWS for scripts on your site. You can see it on the “Emails” page, with the “PHP System” type: it has no “Actions” button and nothing needs to be configured there.
The SPF record provided by default for your domain authorizes these sendings (it contains a:mailphp.lws-hosting.com). You can find it on the “Emails” page, in the “Mail status” section, “SPF” link. If you have modified your SPF record, keep this mention.
Fill in your contact form (or trigger the sending that does not work), noting the exact time and the recipient’s address.
In your hosting management area, under “Email addresses,” click “Mail Tracking.” In the search field, enter mail_php@your-domain (for example mail_php@example.com), then click “Search.”
Find the line that matches the time and recipient of your test:
When spam is sent from your domain (a form used by bots, hacked script), LWS may suspend sending. In the “Email addresses” section, click “Mail Abuse”: a red message indicates the blocked addresses and the reason. Fix the cause before requesting unblocking, by following the help article Understanding and resolving SMTP blocking for Mail Abuse on LWS Panel.
The most common cause is a contact form without a captcha. Add one first:
After many spam emails have been sent from a site, the hosting’s mail() function may be disabled. Your forms can then no longer send messages.
In this case, first secure your forms (captcha) and update your site, its plugins/extensions, and its theme, then contact technical support, who will tell you what to do next: How do I contact LWS technical support?
Your site can also send its messages through a real email account on your domain, using its login and password, instead of the mail() function. For WordPress, the setup is explained in the help article How to configure email sending via SMTP on WordPress. The outgoing server settings are in the help article Which settings should be used to configure an email address (IMAP, POP, SMTP)?
Send another test from your site, then search again for mail_php@your-domain in “Mail Tracking” (or the account address, if you switched to SMTP).
If your sent emails do not appear in “Mail Tracking” or remain in error, open a ticket from your client area. Provide the address of your form page, the recipient address, the date and time of your test with the time zone, and the full error message (or a screenshot).
Ask the LWS team and the community. Answers are published after moderation.