Hi,
I am trying to get php to send an email and am completely lost. It seems as though I had it working on an mdk box at work today, cos I got the messages on my yahoo account, but now I am trying to set up a similar thing at home I am getting nowhere. I have never done anything apart from setting up pop/smtp servers in gui mail clients and once in a networking class we sent an email via telnet. Having done the extremely simple cl mail sending I was under the impression that this would be simple! I just can't work out why it is so difficult... first of all ssmtp was blocking everything. So I uninstall and install postfix. I try to get postfix going but get lots of abusive messages about it not liking certain parameters (the default php ones). Now I read the ssmtp man page and ask myself - why shouldn't this work? All I want to do is send a simple little email - if telnet can do it then this can... Now I reinstall ssmtp and nothing is working. From mutt, sendmail (see below) and the php script I get the below.

tux ~ # sendmail [EMAIL PROTECTED]
hithere

sendmail: Cannot open mail:25

I don't want to do ANYTHING but have php send emails. I don't really care about security (for the moment) and really just want it to work without thinking about it! Can someone give me some advice?
Cheers
Antoine
--
gentoo-user@gentoo.org mailing list


Reply via email to