[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[msmtp-users] Sending emails with PHP + msmtp



Hi guys!

I need some help here... I'm using msmtp to send emails from my php scripts. Here is my config file:

account default
host smtp.gmail.com
port 587
timeout 30
auth on
user dejamps@...189...
password XXXXXXXXX
auto_from on
#from dejamps@...189...
maildomain dejamps.net
logfile /home/dejamps/.msmtp.log
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt

The problem here is that even setting up the header with "From: Someone <someones@...190...>", when the email is delivered, it goes with my email on it, not the defined before. Is there a way to come around this?

Thanks in advanced! :)

--
Éber Freitas Dias

www.eberfdias.com
www.dejamps.net