# Couldn't send email (message)

**URL:** <https://community.sitejet.io/t/couldnt-send-email-message/4376>\
**Category:** cPanel\
**Created:** [February 20, 2025, 6:17pm UTC](https://community.sitejet.io/t/couldnt-send-email-message/4376 "2025-02-20T18:17:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brunommx](https://avatars.discourse-cdn.com/v4/letter/b/34f0e0/32.png) [@Brunommx](https://community.sitejet.io/u/Brunommx)\
**Post date:** [February 20, 2025, 6:17pm UTC](https://community.sitejet.io/t/couldnt-send-email-message/4376/1 "2025-02-20T18:17:48Z")

</div>

Dear sirs,

I inserted a contact form in my site (www.metamorfosi.ch) but as I try to use it is giving an error message (couldn’t send email).

I saw this strange message in the log: PHP Warning: mail(): "sendmail\_from " not set in php.ini or custom "From:" header missing in D:\home\metamorfosi.ch\httpdocs\api.php on line 109

Probably this last message has a relation with my problem.

PHP version 8.1.31

I can also see this in “Core”

| allow\_url\_fopen | On | On |
| --- | --- | --- |
| allow\_url\_include | Off | Off |

Thanks in advance for the help

Kind regards

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [February 24, 2025, 9:59am UTC](https://community.sitejet.io/t/couldnt-send-email-message/4376/2 "2025-02-24T09:59:28Z")

</div>

Hey there,

have you tried these solution suggestions?

> [@cPanel | Most common contact form issues](https://community.sitejet.io/t/cpanel-most-common-contact-form-issues/3616):
>
> large_blue_diamond Hey there cPanel Sitejetters slightly_smiling_face In the past months, questions about the contact form have been quite dominant in this community. The most common issues were a failed form submission and a Captcha image, that does not appear. To ensure the form submissions are successful, please make sure, that the contact form is working at all. Please enable the “send email” feature in the contact form. Fill in a recipient address. Make sure, that it is an actual wo…

---

<div class="post-metadata">

**Author:** ![Brunommx](https://avatars.discourse-cdn.com/v4/letter/b/34f0e0/32.png) [@Brunommx](https://community.sitejet.io/u/Brunommx)\
**Post date:** [February 24, 2025, 12:18pm UTC](https://community.sitejet.io/t/couldnt-send-email-message/4376/3 "2025-02-24T12:18:34Z")

</div>

Thanks Andre for being back,  
I have looked at the solutions, first of all I cannot find any “send email” flag into the contact form. All the rest I verified.  
Anyhow an additional problem raised as the captcha is visible only if SSL is activated but if I activate the SSL than the site is creating problems viewing with IOS devices (saying the site is not safe).  
The captcha issue is not a variable, if I activate SSL captcha is showing but still I have the error message of not sending email and on top of this I have disruption on the IOS devices.

Thanks

Bruno

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [February 25, 2025, 8:14am UTC](https://community.sitejet.io/t/couldnt-send-email-message/4376/4 "2025-02-25T08:14:50Z")

</div>

Hey there,

since you are a panel user, please get in touch with your hoster. They might have to contact cPanel or Plesk directly as well. This is not a Sitejet issue, actually. This seems to be a server issue. 🙏
