Skip to content

Commit

Permalink
refactor: add newline
Browse files Browse the repository at this point in the history
  • Loading branch information
jesselpalmer committed Apr 12, 2024
1 parent d2b3ff3 commit 449f2df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const validateRfc5322 = (email) => {
*/
const checkMxRecords = async (email) => {
const domain = email.split('@')[1];

try {
const records = await resolveMx(domain);
return records && records.length > 0;
Expand Down

0 comments on commit 449f2df

Please sign in to comment.