HTML Email Template

I’ve created my html email template. But when I send the email, the html code does not appear. The textarea where it should load this is empty.

You can save html code, but then you can not send it. Any ideas?.

How can textarea load html template?

1 Like

Same problem here.

1 Like

https://development.invoiceplane.com/browse/IP-543 same here… but no feedback… makes it impossible to use html templates :confused:

1 Like

Hey,

I’ve suggested a fix for the next release (https://development.invoiceplane.com/browse/IP-543).
Works perfectly for me :slight_smile:

Regards,

1 Like

Hi all,

This issue seems to live on. I’m running 1.5.9 on PHP 7.2.23.

I made an email template with the neccesary code to have a clean and responsive layout. Find the template here;
https://office.brutelion.com/email-template.html


The problem is that i can save the template and assigne it to the invoice, but when i send out an invoice the text area of the email template is empty in the send screen.

In version 1.5.9 the quotes are not there so i don’t need to remove anything like discussed in in topic https://community2.invoiceplane.com/t/topic/4235?source_topic_id=4419&source_topic_id=4450

Even the changes that are discussed in IP-543 didn’t do the job. Changed row 49 to “.text”

Does anybody knows what i missed or do else to solve this issue?

Thanks in advanced!

2 Likes

Hmm i was fiddling with this just now.

First of i have yet to use email function in IP1 so…

But i would expect the system to email when i change status of invoice to send… This didn’t work for me. When i then choice option send email yes there is a selector for template but it does not seem to do anything. The field below there (same as template fields) is what it takes if i paste the template in there the email arrives with content.

So I suspect the template is only used in auto emailing (reminders and paid) the send email option from invoice line is not using the template.

I am unsure if this is by design or not i am blind since wiki is down and i can’t have a look at manuals.

Ps. kan i include the template in the github Repository ?

1 Like

Have a look at the recent initiative to share templates.

https://community2.invoiceplane.com/t/topic/8405/3

1 Like

You are confusing me ? :stuck_out_tongue: thats why i was asking to include them in github ?

1 Like

Sorry for the confusion people.

After i started a new browser and cleared all of the data i was able to use the template, so everybody who has the same issue, please try to clear cache and cookies in your browser before you try it again.

1 Like

I have the exact same issue, restarting clearing browser and cache using another device didn’t help. Any ideas why?

1 Like

don’t paste the entire html template in that textarea, it will not work.
Take a look at how the demo does it and adjust accordingly

1 Like

Hi @LuigiTheHunter

Please make sure you are not using any cache modules on your webserver.

1 Like

Thanks for the answer. I did not post the entire html in it. Thanks i was already looking for a demo on this do you mean https://www.invoiceplane.com/demo? I will try to have a look into that. Thanks!

1 Like

Thanks for the answer, I already tried restarting the whole webserver. Which unfortunately didn’t work…

1 Like

Problem exists :confused:

1 Like

@LuigiTheHunter

i think i found the solution to it.
copy the entire HTML code and paste it in the CC field or BCC Field.
save the template.

then open the customer area
click send email
select type of invoice
copy paste the html from CC or BCC Field that you have saved.
rather than not getting any solution anywhere this increases the process by making me copy paste but it’s worth since I spent nearly 20 hours designing the template.

2 Likes

Mettiamola cosi: Quando si sceglie il modello, il developer dovrebbe fare ricaricare la pagina dando modo di visualizzare il codice salvato dentro il database. Ma anche quando fatto questo, inviando la mail il template del corpo mail non viene caricato…il problema sta nel richiamo dati al database.

Thanks a lot for the help

Yes I have copied the HTML code and pasted it in CC field and that is really working. The output although needs some moderation but working positively EduHelpHub in the template as well.

Is there actually a way to get this working?