Sending email from php


When I send an email from php it comes with "No from address/name specified <[myusernumber]> instead of my real address of email in hosting. Any help to achieve this?

Thank you

Did you specify a From header in your code? If not, you should do so.

1 Like

Yes, I did. The fact is that, the text of the header must have a very specific format to work, it is not enough just to put the text and that’s it. Now I fixed it and works well. Thank you.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.