sending email on linux

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ahmedyk
Forum Newbie
Posts: 7
Joined: Mon Jan 05, 2009 2:09 am

sending email on linux

Post by ahmedyk »

Dear Friends,
I wrote a simple PHP email script which runs perfectly on phptriad windows operating system, I just added smtp ip address in php.ini file and the email script runs perfectly, but when i use the same email script on linux server and after adding the smtp ip address in php.ini file on linux server, the email script doesnt work .
Please guide me what more changes do i need to do on linux server.

Thank you.
Best Regards
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: sending email on linux

Post by Christopher »

You may want to look at how phpMailer or SwiftMailer do this.
(#10850)
caltoche
Forum Newbie
Posts: 6
Joined: Mon Jul 27, 2009 8:46 am

Re: sending email on linux

Post by caltoche »

Can you ping the smtp server from your computer on linux ?
Post Reply