Can you view your Php.ini file? See if you have settings configured for mail?
http://php.net/manual/en/mail.configuration.php
On February 26, 2016, at 5:24 PM, Kaile Zhu <[log in to unmask]> wrote:
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
>
|