[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mail without sendmail



M>> Hello All
M>> Is there any option to use mail without sendmail ?
M>> i'm writting a CGI script that supposed to deliver mail to other domains
M>> but i do not want it to use the local (on the same computer) sendmail
M>> program.
M>> Infact i do not want to install the sendmail at all.
M>> 
M>> Is there any why to do this ?

There are lots of ways. You may use plain old socket connection to any
SMTP server that relays or to the MX of the destination, and the do
MAIL-RCPT-DATA-. by yourself. You may do the same with, say, Net::SMTP on
Perl. You may go up the level and use Mail::Mailer.

The only problem is that you'd have to resolve all troubles by yourself,
i.e. no queueing, no retrying, no bouncing - unless you implement in by
yourself.

-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-2-6245112	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333