"Randell D." <you.can.email.me.at.randelld@yahoo.com> wrote in
news:qXFab.185047$la.3709940@news1.calgary.shaw.ca :
[color=blue]
> I've not done what you want to do however Outlook Express wants a
> password for your POP3 settings (ie, to read/get your email). SMTP
> does not need a username/password though some ISPs have managed to
> implement POP3 before SMTP as a workaround for this (roughly meaning
> that the password you used to get your email gets you temporary access
> to the SMTP server). Typically though ISPs just check that you are on
> their network to get access to the SMTP server to reduce the potential
> from non-customers relaying junk email through their servers.[/color]
If your ISP uses POP3 auth to give you SMTP access, change ISP immediately.
There is an SMTP service extension detailing SMTP authentication [1], which
all sane mail admins should use. This is the best solution if you can't be
sure of having all users coming from a specific network.
I don't think the mail() function has support for this, although I guess
sendmail might have and that you just have to give it the right arguments.
See the sendmail docs for that.
KAH
[1]:
http://ftp.isi.edu/in-notes/rfc2554.txt