• Resolved arnaudstratogene

    (@arnaudstratogene)


    Hello, for some time now and despite the update, PDF invoices are no longer tied to email notifications. However, I checked all the settings. How to tie them?

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @arnaudstratogene

    I’m sorry to hear that.

    Are emails sent anyway, but without the documents?

    Please share your document settings under our plugin PDF Invoices > Documents > Invoice.

    Let me know.

    Thread Starter arnaudstratogene

    (@arnaudstratogene)

    Hello !

    Thanks !

    Exactly, emails sare ent anyway, but without the documents!

    Document settings :

    Activate : yes
    Attached: nouvelle commande, commande en cours, commande terminée, commande remboursée, facture du client
    Desactivate : en attente, échouée

    Thank you ??

    Plugin Contributor kluver

    (@kluver)

    Hi @arnaudstratogene,

    First of all, if you are not yet using an SMTP plugin like WP Mail SMTP I strongly recommend you do.

    Second, it could be the case that there is another plugin or custom hook active that overwrites the attachment array. Are you using any plugins or custom code that could explain this?

    Lastly, I would recommend installing a mail logging plugin like WP Mail Logging to see if the email goes out with the attachment.

    Let me know what you find.

    Hi

    I am also facing the same issues. Even all setting are checked twice. With new order only plain email goes to customer there is no attachment going.

    Can you please let me know which hooks or plugin can affect this? As i have many custom code and plugin with my website.

    Regards,
    Sachin

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Sachin,
    Have you installed WP Mail Logging to see if the email leaves WordPress with the attachment? Do you use an SMTP provider or do you send the emails directly from WordPress/PHP?

    Can you please let me know which hooks or plugin can affect this?

    Any plugin that modifies/adds attachments to WooCommerce emails, or custom code using the woocommerce_email_attachments hook could affect this.

    Hi @pomegranate

    I have the same issue. Emails are being sent but without attachments. Although these are activated in the plugin settings.

    Now I have installed your recommended WP Mail Logging plugin and did another test.

    The email log shows the sent mail without an error. And there is also an invoice attached to this mail. But this attachment does not arrive in my email client.

    And I get an 403 forbidden notice when I try to open the invoice from the backend. Which might be because of the .htaccess in the /wp-content/uploads/wpo_wcpdf/attachments/ directory.

    Plugin Contributor Ewout

    (@pomegranate)

    The email log shows the sent mail without an error. And there is also an invoice attached to this mail. But this attachment does not arrive in my email client.

    This means that the email leaves WordPress correctly with attachment and the error of not including the attachment in the actual email happens in your email process. Are you using any plugins to handle email sending? If not, strongly recommended as per the WooCommerce email FAQ, if yes – which one do you use?

    And I get an 403 forbidden notice when I try to open the invoice from the backend. Which might be because of the .htaccess in the /wp-content/uploads/wpo_wcpdf/attachments/ directory.

    Correct, this is indeed because of the .htaccess and is unrelated to the issue at hand because the attachment is loaded server site via the absolute path (rather than a from a frontend URL which is restricted by the .htaccess).

    Hi @pomegranate

    I now have also installed the WP Mail SMTP plugin and did another test with the default WordPress/PHP mailer (no external provider) and it works! PDFs are attached to emails. ??

    Thank you very much for your help!

    Plugin Contributor Ewout

    (@pomegranate)

    @marowi glad to hear that. Out of curiosity… you wrote:

    did another test with the default WordPress/PHP mailer (no external provider

    But I’m not sure I understand. Were you using another (non-PHP Mailer) setup before this?

    Hi @pomegranate

    That was a little misleading on my part.

    I also used the WordPress internal mailer before.

    Now I have additionally installed the WP Mail SMTP plugin and selected the “Default (none)” mailer. For my understanding the same internal mailer as before.

    However, the attachments are only added with the activated WP Mail SMTP plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘PDF not attached to e-mail’ is closed to new replies.