Change adres sender/from PHP mail -->php.ini

janton

Verified User
Joined
Sep 17, 2009
Messages
145
Hello Directadmin Pro's ;)

My server; CentOS 5

I can't get my php mail adres default to change...
Now when i send a message with the php script the sender is my_username@my_website.com (that's a example)

I tried to edit php.ini
sendmail_path = /usr/sbin/sendmail -t -i -f blablabla@my_website.com

Restarted server..
I tried every option i thought about..
And yes i deleted the ; before sendmail_path

When i take a look ad Custom HTTPD Configurations -->website
i see this:
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f my_username@my_website.com'

But i can not change this, also it's not recommended to do this..

What i'm i doing wrong?
 
ok so i can't figure it out..

for now i will use 'From: [email protected]' in my php mail script..
because that is the adres i want people to see and reply on!

I really don't understand why or where to look..? To get the default different
 
Back
Top