rpiambulance / website

RPI Ambulance's website—a work in progress
http://rpiambulance.com/
3 stars 13 forks source link

Add support for PHPMailer #46

Open lramos15 opened 5 years ago

lramos15 commented 5 years ago

mail() has been disabled due to many security issues with it so now PHPMailer with authentication must be used. I think we should implement in a way that calling a simple function will allow us to send email pretty much like normal so that we can re-enable a lot of the forms which we disabled when mail() stopped being supported.

MasterOdin commented 5 years ago

I think an easier solution might be to switch to using something like [SendGrid]() or MailGun which have free tiers that this site would probably easily fall under.

lramos15 commented 5 years ago

I'm willing to use whatever works. I'm just noting this because it is what the union sys admins recommended

ddbruce commented 4 years ago

@lramos15 was this taken care of in #83 and subsequent mail-related PRs?

lramos15 commented 4 years ago

@ddbruce we just have to tll the forms to use the mailer, so this isn't quite done it's just not PHP mailer anymore. Also the current way mail works is it only comes from events@rpiambulance.com

ddbruce commented 4 years ago

Ok but a relatively easy fix. I was asking because I didn't know if I could close the issue. I will leave it open.