Dkim
DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message
Use this tag for questions involving code to send or receive email messages
Measures easier api
Example |
---|
"Dentify all the origins of your email set all the origins of your email in your spf record which is a txt record in dns;dkim is more complex - your mail smtp server s must implement s" from question How to authenticate emails to prevent gmail mark it as spam |
"You may have to take additional measures like implementing spf and or dkim;overall dealing with email is usually much easier if you just use an api service like mailgun" from question Msmtp does not set sender address, when I use it with php mail() |
Server gmail address
Example |
---|
"A lot of factors can lead to your email being delivered to junk;just to name a few - your server s ip address is blacklisted you can check it using tools like - you do not have a proper hostname defined for your server - you do not have a proper reverse dns for your server - spf and or dkim are not configured properly try sending an email from your server to a gmail address for example a gmail address that you own" from question How to read all mails sent from my server |
"Just to name a few - your server s ip address is blacklisted you can check it using tools like - you do not have a proper hostname defined for your server - you do not have a proper reverse dns for your server - spf and or dkim are not configured properly try sending an email from your server to a gmail address for example a gmail address that you own;then go to gmail and even if the email landed on junk please check the email headers" from question How to read all mails sent from my server |
"Your script claims this email is sent from gmail which is not true;not clear whether your server signs emails with dkim or not does it have spf or not" from question How to avoid PHP mail output going to junk mail? |
Others
Example |
---|
First is impossible to be sure that an email will not be marked as spam the only way is that the person who receive the email add the sender address in a white list;spf and dkim are only to guarantee that the email comes from that domain or email but not to guarantee that it is not spam from question Sending DKIM signed e-mail to Outlook.COM via PHP |
Then i d recommend implementing dkim signing with all email sources from question SPF pass on Google and fail on Outlook |
4 some email providers might mark that email as spam however most spam checks are based on spf and dkim checks more than email existence checks from question How to send e-mail from non-existing (autogenerated unique id) email? |