Portal Home > Knowledgebase > Articles Database > How do I change PHP Email Info?


How do I change PHP Email Info?




Posted by FourTwenty, 11-19-2008, 11:06 PM
How do I change PHP Email Info? When I changed hosts, the old mail.domain.com was left in the settings and now my newsletter script won't send out. I can see it listed on the PHP info page at the very top, first line after "System"System - Linux mail.domain.com 2.6.18-92.1.17.el5 #1 SMP Tue Nov 4 13:43:30 EST 2008 x86_64 How do I get into the settings to change the email from mail.domain.com to newmail.domain.com? Using Linux Centos 5, PHP 5, MySQL 5. Thank you for your valuable time and support!

Posted by majoosh, 11-20-2008, 12:15 AM
Quote: Originally Posted by FourTwenty When I changed hosts, the old mail.domain.com was left in the settings and now my newsletter script won't send out. I can see it listed on the PHP info page at the very top, first line after "System"System - Linux mail.domain.com 2.6.18-92.1.17.el5 #1 SMP Tue Nov 4 13:43:30 EST 2008 x86_64 How do I get into the settings to change the email from mail.domain.com to newmail.domain.com? Using Linux Centos 5, PHP 5, MySQL 5. Thank you for your valuable time and support! Hi try setting the sendmail_path with from address in php.ini or in httpd.conf for the virtual host sendmail_path = "/usr/sbin/sendmail -t -i -fFromaddress@newmaildomain.com" or you may modify the mail() function to use a from address. Majoosh

Posted by FourTwenty, 11-20-2008, 02:20 AM
How do I access the area to make these edits? I have standard ftp access and phpmyadmin. Do I need root access and if so, do I just login the way I do normally for ftp?

Posted by FourTwenty, 11-20-2008, 02:28 AM
never mind, I got my host to do it finally. Thank you so very much for your time and help.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Brute Force Attacks? (Views: 612)
DNS servers (Views: 586)