Email sending through Office365 getting marked as spam
In the ColdFusion admin I have mail set to send through smtp.office365.com with all their suggested settings.
I can send email using cfmail, and it goes out through their smtp, but they mark it with a spam confidence level of 5. Most services accept the mail and route it to spam/junk folders. Some are refusing and returning the emails.
The message headers say "Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=xxx@xxx.com" where xxx@xxx.com is the sending email address. Elswwehre in the headers I can see IP address of the coldfusion server, which is in the SPF record.
I have SPF set up. According to Microsoft support they say SPF and DKIM are set up correctly and it is a problem with ColdFsuion not using SPF when sending the email. This doesn't seem right to me, but I'm not sure what else to do at this point.
We ae running CF10 in Windows Server 2012 r2.
