Auto-detecting the hostname used in mail()

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
LiveFree
Forum Contributor
Posts: 258
Joined: Tue Dec 06, 2005 5:34 pm
Location: W-Town

Auto-detecting the hostname used in mail()

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply