LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Do i really need a mailserver (https://www.linuxquestions.org/questions/linux-server-73/do-i-really-need-a-mailserver-735232/)

Datakraft 06-24-2009 04:57 AM

Do i really need a mailserver
 
Hi!
Do i need a mailserver to send email generated from PHP etc?

acid_kewpie 06-24-2009 06:23 AM

well it needs to send it somewhere, and running a built in MTA is the simplest way by a long shot. If you don't want a full blown SMTP server, try something very cut down like esmtp, ssmtp or bsmtp which are purely there to get mail off of a box, not recieve or do much of interest. If you want to do it purely within PHP I think you'd need a package like PEAR.

Wim Sturkenboom 06-24-2009 07:53 AM

I connect from my web applications to port 25 on an exchange server and simulate the mail communication. Should be possible to connect to any mailserver.

You can search for telnet exchange; this is the first hit.

luisduenas 06-24-2009 10:28 AM

Quote:

Originally Posted by Datakraft (Post 3584419)
Hi!
Do i need a mailserver to send email generated from PHP etc?


NO.

Use PHP mail() and SMTP Authentication.

Php acts like a client , using a smtp server( local or remote) , and optional using credentials user, pass in the specified host.


All times are GMT -5. The time now is 06:15 AM.