Forums

[resolved] php mail() vs wp_mail() (2 posts)

  1. danixland
    Member
    Posted 8 months ago #

    Hello everybody,
    In a plugin I'm developing I need to send email with Content-Type: multipart/alternative but it looks like the wp_mail() function doesn't accept a custom boundary and so I'm thinking about using the plain mail() function, but I wanted to ask, are there any problems in doing so?? Is there something I should be aware of when using the mail() function instead of the wp_mail()??

    Thanks a lot in advance..

  2. danixland
    Member
    Posted 8 months ago #

    I've solved substituting the standard wp_mail() with the one shipped with the Enhanced Emails plugin by wojtek szkutnik..

    I found out this code will be included in core starting from early 3.4 development (as per Ticket #18493), so I thought it was more easy and secure than simply relying on the mail() function by itself..

    I think I can mark this as solved now.. ;)

Reply

You must log in to post.

About this Topic