Report this

What is the reason for this report?

Using serverpilot.io and php 7's mail(), how can I change the reply-to?

Posted on August 6, 2018

My end goal or hope is to get all mail forwarded on the domain to our help desk (a gmail address) and the php’s mail() function is working great OOBE, however, even though I use the correct information with the mail() function the actual reply to becomes “webmaster@example.com”

Any ideas how to fix? I’m using php 7.0 and ubuntu 16.04, many thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I’m using Atom.io and simply forgot to save and upload my changes. God I’m goofball sometimes. Sorry about that heh.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.