Why don't I receive the email containing the code with certain email addresses?
The module uses PrestaShop’s email system to send the login code. When a message does not reach certain addresses, several stages need checking: the code request, sending and receipt. The fact that some addresses work does not establish whether the cause lies with the module, the hosting provider or the recipient.
Check the code request
Check the address entered and note the message displayed. The following messages correspond to separate stages:
- “Invalid email”: the address entered did not pass validation; check it for typing errors.
- “Error saving code”: the code could not be saved; report this message to support.
- “Error sending email”: the call to PrestaShop’s email system returned a failure; the cause needs investigation using the configuration and available logs.
The message saying that an email containing a login code has been sent appears when saving the code and the sending call succeed. It does not confirm that the message has reached the recipient’s inbox. The validity period displayed depends on the code expiration setting.
Also check the installed module version: email sending issues were fixed in versions 1.0.10 and 1.0.11. If your version predates these fixes, check for updates compatible with your store.
Compare with PrestaShop’s email test
First check the affected mailbox’s spam folder and filtering rules. On PrestaShop’s email configuration page, usually under Advanced Parameters > Email depending on the version and translation, use the configuration test with an affected address that you control, then another address that you control for comparison. Note the result displayed and check receipt in each mailbox.
- If the PrestaShop test does not arrive either, ask your hosting or email provider to check the store’s sending configuration and logs. This result helps direct the investigation without identifying the cause on its own.
- If the test arrives but the module’s code does not, report this difference to support. The native test does not validate the module’s email template or its use in the affected language.
Have the configuration and logs checked
The choice between SMTP and PHP’s mail() function is not enough to determine why an email has not arrived. Have the sending settings used by PrestaShop, the sender address and domain, that domain’s authentication (SPF, DKIM and DMARC), sending limits and any rejections checked. No sending method alone guarantees that every message will reach the inbox.
Ask your hosting or email provider to look up the attempt at the relevant date and time, including the time zone, and explain what its logs show: acceptance, queuing or rejection, together with any error message. If email logging is available and enabled in PrestaShop, also note the corresponding entry; the module’s template is mailogin. An entry in a sending log does not by itself prove receipt.
For support, provide your PrestaShop and module versions, the language, the starting page (login or checkout), the date and time with the time zone, the message displayed, the native test result and relevant log excerpts. Redact personal data unrelated to the incident and all secrets. Do not share SMTP passwords, API keys, login codes or login links.