How to send mail that supports multi-type attachment using php’s mail function
To send an email with php mail() function is quite easy, but when it comes to send attachments with mail() function is a little bit complex. To send an email with mixed content requires to set Content-type header to multipart/mixed. The message part is always specified in the Boundary section. A boundary always starts with …