So, the setup is this, 2 separate servers...
Web server, has IIS7, MS SMTP
Mail server has MailEnable
On the web server, I'm sending an email from an ASP.Net app, via the mail server, and it is getting marked as spam
If I send an email through the mail server, just from a normal mail client, it doesn't get marked as spam.
I'm sure this is a setup issue, but what am I likely to have done wrong?
web.config:
<smtp from="[email protected]">
<network host="mail.mymailserver.co.uk" userName="[email protected]" password="password" />
</smtp>
asp.net, just a normal SmtpClient send:
SmtpClient client = new SmtpClient();
client.Send(mailMessage);
a random gut feeling reckons it's probably sending through the local SMTP server, then on to MailEnable, and that's giving it weird headers...just a thought though
The headers contain this line: Received-SPF: softfail (google.com: best guess record for domain of transitioning [email protected] does not designate unknown as permitted sender)
I've no idea what it means though (the part looks suspicious)