Did you try PhpMailer? It includes SMTP functionality.
Sarah Park
-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Kaile Zhu
Sent: Friday, February 26, 2016 4:23 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] php and email
I tried. It seems without a mail server, it won't work. - Kelly
-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Erik Sandall
Sent: Friday, February 26, 2016 4:20 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] php and email
Hi Kelly,
PHP has a mail function that you can incorporate into your scripts. The manual page is here: https://urldefense.proofpoint.com/v2/url?u=https-3A__secure.php.net_manual_en_function.mail.php&d=CwIC-g&c=URKFmO0h1-PpCttSQ3v_bEhalPi_sNmh-_LG0Bso5YA&r=UmjVf-1YCnSJ8ymaevl-35Anh5CG-YF09ZrBGH_xV3U&m=Y2klCC-6Dhar7sB9-IRgKrAmwCBSC5FuSpCTARGME6w&s=wFuddn5VUWc783vIPFXYAN81v0JOn4JHNZZbdlbtwLI&e=
/e
--
Erik Sandall, MLIS
Electronic Services Librarian & Webmaster Mechanics' Institute
57 Post Street
San Francisco, CA 94104
415-393-0111
[log in to unmask]
On 2/26/2016 1:50 PM, Kaile Zhu wrote:
> Hi,
>
> Our library has a website run on PHP. The university IT would not help to set up email capability via Web. My question is, what are the options there that I can add email notification capability to our website, and how?
>
> Our server is Windows 2008r2, PHP5.6, IIS 7.5.
>
> Thanks.
>
> Kelly Zhu
>
|