WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate Blogroll
[resolved] mail() function (3 posts)

  1. syndrael
    Member
    Posted 1 year ago #

    I'd like to avoid php mail() function to call wp_mail() (thanks to a plugin called WP-Mail-SMTP). There're not many people who like mail().
    Do you think it'd be useful for you to modify domain/UbMain.php ?
    Here's what i propose (line 25)

    if(function_exists('wp_mail'))
    wp_mail(UbMapper::getInstance(UbMapper::Settings)->getConfig("blogroll_contact"), $subject, $body, $headers);
    else
    mail(UbMapper::getInstance(UbMapper::Settings)->getConfig("blogroll_contact"), $subject, $body, $headers);

    Are you interested by including it ?
    Best regards
    S.

    http://wordpress.org/extend/plugins/ultimate-blogroll/

  2. jensg
    Member
    Plugin Author

    Posted 1 year ago #

    Absolutely interested

  3. syndrael
    Member
    Posted 1 year ago #

    Do you want to include it in a further update ?
    Now, i'm not focused on your plugin (not enough time) but when i'll be back for it, i'll check a newer version.
    Best regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.