PHP: how to set sendmail_from parameter


#1

Hi,

Does anyone know how I can set the sendmail_from parameter in PHP? I want to send an email and have it come from a separate email address incase people replay.

Thank you,
Jac


#2

You can change that information in the mail headers. See this wiki article for more information.


Simon Jessey | Keystone Websites
Save $97 on yearly plans with promo code [color=#CC0000]SCJESSEY97[/color]


#3

Thanks! The only thing I noticed was in gmail, when i click reply, it replies to itself??? I’ve tested it with another email and it worked fine. Any ideas on that one?

Thanks again!

Jac


#4

It should be the same for all email addresses.


Simon Jessey | Keystone Websites
Save $97 on yearly plans with promo code [color=#CC0000]SCJESSEY97[/color]