Page 1 of 1

Auto-detecting the hostname used in mail()

Posted: Sun Feb 18, 2007 8:59 pm
by LiveFree
Hey D11,

I am developing a CMS to use an email-activation routine, which obviously needs Swift (I'll never use mail() again thanks to you :) ).

Howver, I need I way to easily detect and use whatever SMTP server that mail() uses (and uses successfuly).

Excuse me for my stupidity if it is blatently obvious.

Thanks,
Rick

Posted: Mon Feb 19, 2007 12:17 am
by feyd