No GD Emails are being Sent/Received using SMTP

This topic contains 5 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #299035

    Lynne Koyamatsu
    Expired Member
    Post count: 7

    Hello,

    We’re using the WP-Mail-SMTP plugin that is working fine for our site’s buddypress registration/password change notifications. But, none of the Geodir emails such as claim listing, are being sent or received. I’ve tried setting the return email address to be the same email address as the emails that are working, but that didn’t help. If I change the smtp plugin’s setting to use the PHP mail() function, the geodir emails are sent. But, that defeats the purpose of using the plugin.

    #299403

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Lynne,

    We use the standard wp_mail function, it should work, i use these guys (they have a wp plugin) for my sites: https://www.sparkpost.com/ and it works fine.

    Stiofan

    #299912

    Lynne Koyamatsu
    Expired Member
    Post count: 7

    I got the geodir emails to be sent by removing the MIME-Version:1.0 from the header of the geodir email(s). (i.e. I modified the geodir email sending code).

    According to the wp_mail reference: “…The [wp_mail] function will figure it out and will build the proper Mime header automagically.” So, the MIME doesn’t need to be specified. Other plugins do not set the Mime header. Other plugins are not setting the MIME in the header and they work fine with the wp smtp plugin. Could you check and update the geodir code to not set this MIME type?

    ALSO, I found a geodir claim plugin bug: the claim listing email that is supposed to be sent to the administrator(s), is being sent to the ‘fromEmail’ as specified in geodir settings.
    This is the incorrect line of code (in geodir_claim_functions.php):
    $sent = wp_mail($fromEmail, $subject, $client_message, $headers); // To site admin email

    #300715

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Lynne,

    I have changed both of these issues and they will be in the next release.

    Thanks,

    Stiofan

    #300833

    Lynne Koyamatsu
    Expired Member
    Post count: 7

    Thanks Stiofan… Excellent news. Thanks for addressing these issues.

    -Lynne

    #300841

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    No Problem Lynne, thanks for spotting them 🙂

    Stiofan

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket