Support Center > Knowledgebase > Web Host Manager > e-Mail Information > How can I send email from SMTP and PHP ?
How can I send email from SMTP and PHP ?
Here's a third party article that discusses using PHP and SMTP to send email: http://email.about.com/od/emailprogrammingtips/qt/et073006.htm.
How to authorize a remote IP to relay throught Exim:
- Create a file with your host IP or IPs
- Name it something like /etc/privaterelay.
- In /etc/exim.conf, change the first line below to the second.
- hostlist relay_hosts = lsearch;/etc/relayhosts : \
localhost
- hostlist relay_hosts = lsearch;/etc/relayhosts : \
localhost : lsearch;/etc/privaterelay
Also Read