• Resolved danixland

    (@danixland)


    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..

Viewing 1 replies (of 1 total)
  • Thread Starter danixland

    (@danixland)

    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.. ??

Viewing 1 replies (of 1 total)
  • The topic ‘php mail() vs wp_mail()’ is closed to new replies.