Saturday, October 1, 2022
HomePHPMail SPF Checker for Laravel

Mail SPF Checker for Laravel


The Laravel Mail SPF Checker is a package deal to verify should you can ship an e-mail by means of a given mail server within the identify of a given e-mail deal with:

When sending within the identify of a website with out utilizing the respectable mail server of the area it will probably get difficult…More often than not your mail results in a spam folder. This may be solved by configuring an accurate SPF report for the area you might be sending with.

This package deal gives a checker that you need to use in your app to make sure you have an accurate SPF report:

1$mailSpfChecker->canISendAs("hey@dietse.dev"); // bool

2 

3// Should you can not ship mail appropriately, this may output the wanted SPF report:

4 

5if (! $mailSpfChecker->canISendAs("hey@dietse.dev")) {

6 // Generate a txt-record with a reputation of dietse.dev

7 // and the worth v=spf1 ip4:#.#.#.# -all

8 echo $mailSpfChecker->howCanISendAs("hey@dietse.be");

9}

You can too verify utilizing a given mail server:

1$mailSpfChecker

2 ->utilizing('SMTP.mandrill.com')

3 ->canISendAs("hey@dietse.dev");

You will get began with this package deal by trying out the Mail SFP Checker on GitHub.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments