我只是想让我的多部分电子邮件用base64编码并通过swiftmail发送。这是我到目前为止的代码:$message=Swift_Message::newInstance("EmailTemplateTest")->setBoundary($boundary)->setFrom(array('no-reply@domain.net'=>'MailerService'))->setTo(array("a@d.com","a@b.com"))->setBody($plaintext)->addPart($htmlmail,"text/html");$headers=$message->ge