Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Email Help Re: Email Help

#124217
__
Participant

In the code you show above, `$name` is not defined: if the “From” header you construct is blank, the email probably won’t be sent.

Further, if you’re simply putting a name in the “From” header, the mail might be dropped anyway, since “From” requires an email address. Use an email that belongs to your domain (e.g., `[email protected]`).

[`mail()`](http://php.net/mail) wouldn’t know about such a failure: all it does is submit the message to the mailing queue.