Add SPF and DKIM hints for each sending method

This commit is contained in:
Kijin Sung 2016-05-19 14:11:55 +09:00
parent ce66292fe4
commit 729bfe8239
10 changed files with 184 additions and 0 deletions

View file

@ -29,4 +29,24 @@ class SendGrid extends SMTP implements \Rhymix\Framework\Drivers\MailInterface
{
return array('api_user', 'api_pass');
}
/**
* Get the SPF hint.
*
* @return string
*/
public static function getSPFHint()
{
return 'include:sendgrid.net';
}
/**
* Get the DKIM hint.
*
* @return string
*/
public static function getDKIMHint()
{
return 'smtpapi._domainkey';
}
}