When an email is sent, the receiving server checks the SPF record of the sender's domain to verify that the email is coming from an authorized mail server. If the sending server is listed in the SPF record, the email is delivered. If not, the email may be marked as spam or rejected.