When creating a Swift_Message
you can have both a plain text and an html version of the email. You set one as the body, and then you add the other one as a part.
What is the difference if I set the HTML version as body and plain text as part, and the other way around?
$html_as_body = Swift_Message::newInstance()
->setSubject($subject)
->setBody($html, 'text/html')
->addPart($plain, 'text/plain');
$plain_as_body = Swift_Message::newInstance()
->setSubject($subject)
->setBody($plain, 'text/plain')
->addPart($html, 'text/html');
And by difference, I mean what kind of difference will it have in email readers and such?