Why is SwiftMailer sending two emails?
问题 I am sending emails via PHP's SwiftMailer library. I have this PHP code to send 1 email to 1 email recipient from 1 sender. Here is the code: $email = /*some email recipient*/; $sendEmail = /*sender's email*/; $sendName = /*sender's name*/; $subject = /*email subject*/; $body = /*email body*/; //Create the message //Create the Transport $transport = Swift_SmtpTransport::newInstance('/*mail host*/', /*port*/) ->setUsername('/*some username*/') ->setPassword('/*some password*/') ; //Create the