Sending email with VB: "Sender rejected because SPF check failed"

Discussion in 'General troubleshooting' started by erniethomason, Dec 11, 2018.

  1. I have some VB code the sends an email (from web server):

    Dim smtp As New SmtpClient("")
    smtp.UseDefaultCredentials = False
    smtp.Credentials = New System.Net.NetworkCredential("...", "...")

    I sometimes get a returned email stating:

    The mail system ...
    Sender rejected because SPF check failed
    Wc-2-pRlTcy-1qjPHnnAxw - nsmtp (in reply to MAIL FROM command)​

    Is this due to a problem on the Winhost side? Anything I can do?
    I only have this problem when sending to emails.

Share This Page