Email Structure -- Building an Email Sender with SMTP
Using an SMTP library, you can build an app to send emails. However, it typically doesn’t support a function to simply pass the subject, content, and attachment as parameters. Format of Internet Message Bodies According to RFC2045, the MIME (Multipurpose Internet Mail Extensions) format is used. From: ocfox <[email protected]> To: Test <[email protected]> Subject: Test Email MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=_kuroneko_ This is a simple email header where I use a custom boundary _kuroneko_. The boundary is used to separate different parts of the email. ...