[SOLVED] Recurring invoices sends extra e-mail with Online payment Link

A happy new year to all.

I wanted to start using my Dolibarr setup today and run into the following problem:

  • I have setup a playground and a live version of Dolibarr on the server
  • I added the SendRecurringInvoiceByMail Module

Tested everything on the playgroud, recurring works fine and mails was sent correct, means one mail with the template text and the invoice attached.

Now on live this email is sent fine too, but there is a second e-mail sent with:

Subject: Information
Body:

Hallo Die Rechnung RE-92000001 finden Sie im Anhang Sie können den folgenden Link anklicken um die Zahlung auszuführen, falls sie noch nicht getätigt wurde. https://DOMAIN.TLD/INSTANCE/public/payment/newpayment.php?source=invoice&ref=RE-92000001 Mit freundlichen Grüßen

There is no invoice attached. And this one is most likely not created by the additional module. I assume this is created by the core recurring creation process.

I gone not to deep into the code, but it is

PredefinedMailContentLink - which is translated to German.

Is there any way to disable this second e-mail somewhere? I am behind firewall so no external access to the installation. I temporary filter out this e-mails in the mailwall the mails are sent through, but a final solution would be cool.

If I go to the link I see:

No active payment module (Paypal, Stripe, Paybox, …)

Any hint would be greatly appreciated.

Thank you!

Looks like this happens only on the very first invoice of a dolibarr installation. after activating other invoice templates and rerun things on invoice 2++ this does not happen any more…