Support » Plugin: wpMandrill » Function on Costume PHP Page

  • Hello,

    I usualy use function bellow to send email on my costume page.

    wp_mail($emailTo, $subject, $message, $headers);
    $emailSent = true;

    how do i call mandrill function to send email from costume page?
    should be like this?

    wpMandrill::mail($emailTo, $subject, $message, $headers);
    $emailSent = true;

    Thank You

Viewing 1 replies (of 1 total)
  • I hope you figured this out, but it does say pretty clearly in the first paragraph on the plugin’s description:

    It replaces the wp_mail function included with WordPress.

    So no need to change from wp_mail.

    Also, you could use this

    $emailSent = wp_mail($emailTo, $subject, $message, $headers);

    And then $emailSent would actually mean something.

Viewing 1 replies (of 1 total)
  • The topic ‘Function on Costume PHP Page’ is closed to new replies.