3 lines
116 B
PHP
3 lines
116 B
PHP
<?php
|
|
// Only add SMTP Mailer (SendGrid) if on live site
|
|
if(Director::isLive()) Email::set_mailer(new SmtpMailer()); |