WordPress.org

Forums

WordPress Printable Gift Certificate Plugin (WP Gift Cert)
Certificate email not being sen (10 posts)

  1. joeminer
    Member
    Posted 2 years ago #

    I have the plugin working except for one critical detail--it won't send the actual certificate. I am able to sell them and get the paypal transaction completed, but the email with the certificate does not ever arrive. I've also tried the Resend link in the sold crtificates area, with the same lack of results.

    The email for this site is hosted somewhere else, but my contact form is able to send email, so it doesn't seem to be that.

    Anyone else run into this and find a solution?

    http://wordpress.org/extend/plugins/wp-gift-cert/

  2. remiturcotte
    Member
    Posted 2 years ago #

    Hello
    for me i receive the email but its not the "approved email"... it sends me the "not accepted" email...
    strange...

    i've tried to look into paypal's ipn settings and return settings but no luck.

  3. alexgomezpr
    Member
    Posted 2 years ago #

    Joeminer, I have exactly the same problem. The plugin was working perfectly before. Since then I have done a couple of upgrades to wordpress, having currently version 3.3.2, but I really dont know when it started having problems sending the gift certificate email. I noticed because a cliente who bought a certificate let me know it never arrived. I think its very likely a wordpress upgrade broke it.

    If anyone knows what could it be, let us know. Thanks!

  4. susanmccormick
    Member
    Posted 2 years ago #

    I am having exactly the same issue. WordPress 3.3.2 as well. Anyone have any ideas about what might be going on? This is my first attempt at using the plug-in so I don't know whether it is related to an upgrade.

  5. Kim
    Member
    Posted 2 years ago #

    I'm looking for the same answer. I'm currently running WP 3.4.1. The transaction goes through and I am notified from PayPal, not gift certificate gets e-mailed. Does anyone have any advice or a solution? I hope so as this is a cool plugin.

  6. Ripplestone
    Member
    Posted 2 years ago #

    I had the same problem.

    I loaded this plugin called "Configure SMTP"
    http://wordpress.org/extend/plugins/configure-smtp/

    The plugin re-routs all the E-mails through SMTP.
    Then I setup a G-mail account to send from.

    Now it works.

  7. midexsoftware
    Member
    Posted 2 years ago #

    There is something wrong the the header that is being contructed when email is being sent. I had to modify wpgift-loader.php file.

    find the line:
    $sendit = wp_mail($to, $subject, $message, $headers);

    1. above this line, add:
    // this will send email in html format instead of text
    add_filter('wp_mail_content_type',create_function('', 'return "text/html";'));
    2. change this like by remove $header variable so the line looks like
    $sendit = wp_mail($to, $subject, $message);

    I am not sure how the $header was intended to work, but all I figured out is the fact that by not specifying this custom header, it works.

  8. phoeniixcool
    Member
    Posted 2 years ago #

    Anything else or who can fixed this bug already?
    I just test it right now and this plugin can't send email to any whom.

  9. Ricky__B
    Member
    Posted 2 years ago #

    Thanks Ripplestone, that worked.

  10. Wil
    Member
    Posted 2 years ago #

    There are two issues in this thread.

    1. Emails not being sent
    @Ripplestone has applied a fix for emails not being sent.

    I've come across this issue on some Windows IIS servers running WordPress not being able to properly send SMTP mail.

    Never had a problem with Linux servers.

    2. Incorrect format in Email header
    @midexsoftware is correct.

    There is a problem in the way the outgoing SMTP email is formatted.

    It is trying to send out the email using the admin email address in the plugin settings, however, the actual email address in the header is still being recorded as your WP system email (General > Settings).

    This is causing some email systems to mark the email as suspicious as it looks like somebody is spamming the From address.

    For those who say they are not receiving emails, I would suspect you are but that they are being sent to a SPAM/Junk folder on your systems or being rejected by a SPAM/Junk email filter on your mail server.

    Please check both systems if this is the case.

    TO THE DEVELOPER:
    Please fix this and correctly format the outgoing SMTP email.

    Cheerz,
    Wil.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Printable Gift Certificate Plugin (WP Gift Cert)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic