Auto-detecting the hostname used in mail()
Posted: Sun Feb 18, 2007 8:59 pm
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
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