UNA-CS455 / SchedulingApp

UNA SE scheduling application
2 stars 2 forks source link

Mail PHP script doesn't send #2

Open ChaseDB opened 6 years ago

ChaseDB commented 6 years ago

PHP script for sending a confirmation email has been written, however there seems to be a bug with the actual PHP mail function, appearing at the bottom of /scripts/mail.php. Possibly associated with smtp/sendmail function configuration, or even server configuration.

Attempted:

  1. Sending to a personal email rather than a UNA email in case email failed to get through filter. No good.
  2. Sending through xampp - localhost sendmail seems impossibly to perform, but there must be a way.
  3. Sending through c9 - cloud9 actually blocks smtp outgoing mail due to spammers abusing it.

Possible approach:

  1. Check out other mail frameworks such as PHPMailer and see if they work any better
  2. Talk to a professor with PHP experience.
ChaseDB commented 6 years ago

An update: This should be attempted on Jerkins' server or when we attempt to deploy it to a UNA server. These will likely have sendmail configured, which should cause it to work correctly.