LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-24-2009, 04:57 AM   #1
Datakraft
LQ Newbie
 
Registered: May 2009
Posts: 10

Rep: Reputation: 0
Do i really need a mailserver


Hi!
Do i need a mailserver to send email generated from PHP etc?
 
Old 06-24-2009, 06:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.

Last edited by acid_kewpie; 06-24-2009 at 06:25 AM.
 
Old 06-24-2009, 07:53 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 06-24-2009, 10:28 AM   #4
luisduenas
LQ Newbie
 
Registered: Dec 2008
Distribution: Debian - pero ya no.
Posts: 22

Rep: Reputation: 0
Quote:
Originally Posted by Datakraft View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mailserver tamia Linux - Server 1 05-20-2009 12:19 PM
Mailserver... roalds1971 SUSE / openSUSE 2 08-02-2006 08:37 AM
Mailserver towel401 Linux - Networking 2 04-18-2005 05:08 PM
mailserver on fd slam Linux - Software 3 06-30-2003 06:00 PM
got mailserver? fractilian Linux - Software 2 06-28-2003 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration