• What are the major differences between the wp_mail() function and PHP’s default mail() function?

    I am currently creating a plugin that sends email and want to know which is the preferred method.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think wp_mail() uses the default php mail() function.

    Thread Starter Joe Hall

    (@redbmedia)

    Yeah, I have read that else where, but then I ask myself, if that’s the case, then why does it exist?? I mean why create a function that does the exact same thing that the default does?

    I think its because you can add other functions and variables that are inside WordPress without calling them. Like adding categories, tags etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_mail() versus PHP’s mail()?’ is closed to new replies.