Page 1 of 1
sending mail
Posted: Thu May 20, 2004 3:26 pm
by James M.
Hi, is there an alternative to the mail() function that works in pretty much the same way, except you don't need an SMTP server?
And if there is no alternative, does anyone know any good, free SMTP servers that work well with PHP?
Posted: Thu May 20, 2004 3:31 pm
by xisle
not sure of the latest smtp freware, but beware of apps that open your machine up as an smtp relay.
This is why some of the windows apps are 'free'. I ended up being pounded with SPAM until I figured out how to use port forwarding on my firewall to get around the problem.
Posted: Thu May 20, 2004 3:54 pm
by James M.
well i found one free SMTP sever, its called Apache JAMES, from the makers of Apache HTTP server. I kind of quit on trying to get it to work since any mail sent from the server was never recieved and any I couldn't find a way to read the mail sent to the server. I looked for othr SMTPs but they never worked so thats why I'm looking for an alternative to the php mail function or a SMTP server
Posted: Thu May 20, 2004 7:29 pm
by launchcode
Unless you've got a fixed domain/IP on your local machine, running your own SMTP server isn't the best idea in the world as any mail server with a reverse look-up will bounce any message you send.
Why not relay through your ISPs mail server via one of the many superb PHP classes like PHPMailer?
http://phpmailer.sourceforge.net/
Posted: Thu May 20, 2004 9:49 pm
by James M.
Well im only running all these servers on my computer so that i can practice php for free. I never knew of PHPMailer, or that sourceforge.net was an open source software development website (i just downloaded from it all the time). Thanks for the info.
Posted: Thu May 20, 2004 9:52 pm
by launchcode
Fair enough

I'd still definitely give PHPMailer a try though - superbly well written class file.