Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move mailer config to nucssa-core #12

Open
JJPro opened this issue Oct 31, 2019 · 0 comments
Open

Move mailer config to nucssa-core #12

JJPro opened this issue Oct 31, 2019 · 0 comments

Comments

@JJPro
Copy link
Member

JJPro commented Oct 31, 2019

https://github.com/NUCSSA/nucssa-pickup/blob/master/lib/inc/mail-service/MailService.php#L9-L19

class MailService {
  public static function sendGridRelay($mailer) {
    $mailer->isSMTP();
    $mailer->Host = SENDGRID_SMTP_HOST;
    $mailer->SMTPAuth = true;
    $mailer->Port = SENDGRID_SMTP_PORT;
    $mailer->Username = SENDGRID_SMTP_USERNAME;
    $mailer->Password = SENDGRID_API_KEY;
    $mailer->SMTPSecure = 'TLS';
    $mailer->From = '[email protected]';
    $mailer->FromName = 'NUCSSA';
  }
 ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant