Print

Print


Yes, sendgrid-php api finally does the job for me.  There are quite many steps to go through to make it work.  If anybody is in the same situation like me, contact me off-line; I can help to walk you through.  Thanks for all the help received. - Kelly

-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Kun Lin
Sent: Friday, February 26, 2016 4:53 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] php and email

Hi Kaile
If you wasn't able to install Postfix on your server, try a third-party mail delivery service.
For example: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mandrill.com_&d=CwIBaQ&c=URKFmO0h1-PpCttSQ3v_bEhalPi_sNmh-_LG0Bso5YA&r=UmjVf-1YCnSJ8ymaevl-35Anh5CG-YF09ZrBGH_xV3U&m=nVNcB0ugd-0DHxOUN2sjEprE9MOoBmPiJL0vZFJW3Fo&s=YeWZ78MoyK1hJHczQzWYMilS_20ekrNa4zWk_OteAMI&e=   or  https://urldefense.proofpoint.com/v2/url?u=https-3A__sendgrid.com_&d=CwIBaQ&c=URKFmO0h1-PpCttSQ3v_bEhalPi_sNmh-_LG0Bso5YA&r=UmjVf-1YCnSJ8ymaevl-35Anh5CG-YF09ZrBGH_xV3U&m=nVNcB0ugd-0DHxOUN2sjEprE9MOoBmPiJL0vZFJW3Fo&s=bDE4ZUTNUXnnqY3p74ZY9pmI_894o8Yz0KM6eDKApA8&e= 

They have an API for you to send emails.
Kun Lin
Whitman College


-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Kaile Zhu
Sent: Friday, February 26, 2016 2: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-_LG0Bso5
YA&r=UmjVf-1YCnSJ8ymaevl-35Anh5CG-YF09ZrBGH_xV3U&m=Y2klCC-6Dhar7sB9-IRgKrA
mwCBSC5FuSpCTARGME6w&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
>