A website can send email in a different way than webmail. Webmail uses your mailbox directly, while a website usually sends messages through an application, plugin, contact form, or script.
This article explains why email may work from webmail but fail from the website. It also explains what to check before contacting support, so the cause can be narrowed down more quickly.
Table of Contents
Why webmail can work while website email fails
Webmail sends email after you log in to a mailbox. The message is sent through the mail service using an authenticated email account.
A website may send email differently. For example, WordPress, contact forms, ecommerce notifications, and custom scripts may use PHP mail, SMTP settings, or a plugin to send messages.
Because these are separate sending methods, one can work while the other fails.
Webmail vs. website email
| Webmail | Website email |
|---|---|
| Sent from a logged-in mailbox | Sent by a website, script, plugin, or application |
| Usually uses authenticated mail access | May use SMTP, PHP mail, or plugin settings |
| Easier to verify from the mailbox interface | Depends on website configuration |
| Confirms the mailbox can send email | Does not confirm the website is configured correctly |
If webmail works, the mailbox itself is usually able to send email. The issue is more likely related to how the website is trying to send messages.
Common causes
1. The website is not using SMTP
Many websites try to send email using the default PHP mail function. This may not provide proper authentication, sender alignment, or reliable delivery. You can find out what PHP mail is here.
Using SMTP is usually more reliable because the website logs in to a real mailbox before sending the message.
For WordPress, this is usually configured with an SMTP plugin.
2. Incorrect SMTP settings
If the website uses SMTP, the settings must match the mailbox configuration.
Check the following values:
- SMTP hostname
- SMTP port
- encryption type
- full email address as the username
- mailbox password
- sender email address
A small mismatch can prevent the website from sending messages, even when webmail works normally. You can find out more about SMTP and see the mybox SMTP settings HERE.
3. The sender address does not match the mailbox
Some websites send messages using an address that does not exist or does not match the authenticated mailbox.
For example, the website may authenticate as:
[email protected]
but try to send from:
[email protected]
or:
[email protected]
This can cause messages to fail or be rejected by the mail server.
The safest setup is usually to send from the same email address used for SMTP authentication.
4. Contact form settings are incomplete
Contact form plugins often have their own email settings.
Check that the form has:
- a valid recipient address
- a valid sender address
- a subject line
- a message body
- correct notification settings
- no missing required fields
If the form is misconfigured, the website may submit the form successfully but never send the email.
5. The website is sending to spam or junk
Sometimes the website sends the email successfully, but the message is filtered into spam or junk.
This can happen if the email lacks proper authentication, uses a suspicious sender address, or contains content that looks automated.
Check the spam folder and test with different recipient addresses.
6. DNS email authentication is incomplete
Email authentication records help receiving mail servers decide whether a message is legitimate.
Important records include:
- SPF
- DKIM
- DMARC
If these records are missing or incorrect, messages sent from the website may be more likely to fail delivery or go to spam.
This is especially important when the website sends email through a different service than the domain’s regular mailbox.
7. The website or plugin is blocked from sending
Some security plugins, firewall rules, or hosting restrictions may block scripts from sending email.
This can also happen if the website recently sent a large number of messages, if a script is behaving unexpectedly, or if malware is suspected.
If sending suddenly stopped, check recent plugin, theme, security, or code changes.
8. The website has PHP or plugin errors
Website email can fail if the script responsible for sending messages is producing errors.
For WordPress, this may involve a form plugin, SMTP plugin, ecommerce plugin, theme function, or custom code.
Error logs can help show whether the website is failing before the email is sent.
What to check first
Start with these checks:
- Send a test email from webmail.
- Send a test email from the website form or plugin.
- Confirm whether the website uses SMTP or PHP mail.
- Check the SMTP hostname, port, encryption, username, and password.
- Confirm that the sender address matches the SMTP mailbox.
- Check the contact form notification settings.
- Check the spam or junk folder.
- Test with a different recipient address.
- Review SPF, DKIM, and DMARC records.
- Check recent plugin, theme, cache, or security changes.
- Review website error logs if available.
Recommended website email setup
For most websites, SMTP is the recommended method.
A typical setup uses:
Sender email: [email protected]
SMTP username: [email protected]
SMTP password: mailbox password
SMTP server: smtp.mybox.com(or the hostname provided by your email provider, if you are not using mybox)
Encryption: SSL/TLS or STARTTLS, depending on the mail service
The exact hostname, port, and encryption depend on the email service used by the domain.
Using the same mailbox for the sender address and SMTP authentication helps avoid many delivery issues.
What is normal
It is normal for webmail and website email to behave differently because they use different sending paths.
It is also normal for website email to need additional configuration. Contact forms, WordPress notifications, ecommerce messages, and automated emails often require SMTP settings to send reliably.
A successful webmail test confirms that the mailbox can send email. It does not confirm that the website is correctly configured to send email.
When to contact support
Contact support if webmail works, but the website still cannot send after SMTP, sender address, form settings, DNS authentication, and plugin errors have been checked.
Include the following details:
- the website address
- the sender email address used by the website
- whether the website uses SMTP or PHP mail
- the SMTP hostname and port, without sharing the password
- the plugin or form used to send email
- the recipient address used for testing
- the time of the failed test
- any error message shown by the website or SMTP plugin
This information helps support identify whether the issue is related to website configuration, mail authentication, DNS records, SMTP access, or server-side restrictions.
Summary
If email works from webmail but not from the website, the mailbox is usually working, but the website sending method needs review.
The most common causes are missing SMTP configuration, incorrect SMTP settings, mismatched sender addresses, form plugin issues, incomplete email authentication records, or website errors. Using SMTP with a valid mailbox is usually the most reliable setup for website email.