Support » Plugin: WooCommerce Gift Coupon » Email spam on Yahoo

  • Resolved henrischiltz

    (@henrischiltz)


    Hello,
    First, sorry to bother you :/ But i’m out of ideas !
    I was never able to receive email from your plugin so i installed “WP Mail Log” and the plugin record the sent.
    So i installed “MailGun” an smtp mail plugin that could aparently solve this type of problems. On there logs, i was able to see that if the mails didn’t go throught, it was because of Yahoo’s spam policy :/
    “Server response: 554 5.7.9 Message not accepted for policy reasons. See https://help.yahoo.com/kb/postmaster/SLN7253.html”
    Is there anything i can do ?
    I’m using my own adress matching my website adress.
    It works perfectly (so perfectly that i really want your plugin to work !) with other email adress.
    Thank you for reading this, have a good day 🙂
    Henri

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Alberto Perez

    (@studiosweb)

    Hi @henrischiltz.

    I think that your problems its the mail configuration of your server. Similar plugins as MailGun has SMTP configuration to work your site individually with that email configuration, but if you dont use any kind of this SMTP plugins, probably, you need to configurate your global email configuration at the server.

    This plugin use the WordPress function ‘wp_mail’, probably the problem it´s that yahoo is interpreting that an email with any attachment it´s a spam email.

    We can review the headers of email to try to resolve this conflict with Yahoo.

    Thanks a lot and please valorate this plugin 🙂

    Regards.

    Thanks a lot for the reply, i’ll look into configuring MailGun.
    I’ll also try to delete the pdf attachment and see if that helps, i’ll try to do that tommorow and i’ll tell you if that works.
    I’ve also thought that i bought an existing domain name and maybe the previous owner was spammy with his email and yahoo might remember that. I’ll try the plugin on another website.

    Plugin Author Alberto Perez

    (@studiosweb)

    Ok @henrischiltz, we are in contact to resolve this issue.

    This week i am going to review this issue and i am going to make some test with headers of email.

    Let me know your test!

    Regards

    Yeah !!
    MailGun had an option that tey said would override the sender adress and name but aparently was not working. I changed the website adress and finaly the mail worked !!
    Well, now it’s a spam and the attachment is marked as a potential danger and cannot be downloaded but at least the coupon gets delivered !
    Thank you for your help, and if i find a way to “unspam” my mails, i’ll post it here for futur people who might have that problem 🙂
    Cheers

    Plugin Author Alberto Perez

    (@studiosweb)

    Hi @henrischiltz

    Thanks for your report. I am thinking yet that the problem could be the headers which send in email.

    I´ll try to review it this weekend and i´ll tell you the conclusion of my test.

    Cheers

    Plugin Author Alberto Perez

    (@studiosweb)

    Hi @henrischiltz

    We can´t reproduce your bug with Yahoo. I give you more news next days…

    Regards.

    Hello, I reinstalled everything (well, copy paste) on a different domain (a brand new one) and it works like a charm.
    So i’m guessing that the reputation of the domain had been tarnished by the previous owner. Not much i can do about it aparently appart from waiting to get my reputation up slowly.
    Thanks a lot for your help, and sorry for waisting your time :/

    PS : But from what i gathered yahoo have uped there spam filters. As an exemple, any email notification comming from wordpress about a forum reply goes strait to junk mail ! So if wordpress doesn’t get out of the spam filter, i don’t have high hopes 🙂

    Plugin Author Alberto Perez

    (@studiosweb)

    Hi @henrischiltz

    Ok…Good lucky with your problem. We´ll stay here for any questions.

    Thanks a lot.

    Please help us to continue developing with a simple donation 🙂

    I’ve finally managed to crawl out of the spams !
    Yeah !!
    But i made some changes to your plugins and it’s fonctions in order to make that happen.
    So the idea is that “they” don’t like html emails. So what i did is seperated the pdf from the mail itself.
    I replace $body by $message and define message as “Hello, blabla my message blabal”.
    That also allowed me to free myself from mail client display nightmares. I was able to reduce the size of the mail so it didn’t overflow in the pdf (don’t know if i’m the only one to have this problem, but dompdf renders to about 595px only) and i could set a super nice image as a background.

    Pretty heavy changes i guess but if someone have the same problem in the futur, that’s the solution i went for.

    Plugin Author Alberto Perez

    (@studiosweb)

    Hi @henrischiltz

    So…you say that it´s don´t necassary to attach HTML inside the body like a PDF?, for example if the pdf is already attached, then…the body could be “Download the coupon PDF to use at the website….”

    Regards.

    Yep.
    i added
    $message = "My message here, like download blablabla...";
    and replayced
    wp_mail( $mailto, $woocommerce_gift_coupon_subject, $body, $headers, $attachment );
    by
    wp_mail( $mailto, $woocommerce_gift_coupon_subject, $message, $headers, $attachment );

    The $body is still used for the pdf generation, but not as the actual email.

    Plugin Author Alberto Perez

    (@studiosweb)

    Hi @henrischiltz

    Please upgrade to the new version 3.1

    In this version we create a new field on settings page named ‘Message’ that field is the same that $message.

    Regards.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Email spam on Yahoo’ is closed to new replies.