Error at Html formating in Mail body

Hi. I’m getting that error, End of expression expected. Every thing is well placed. Below is my reference. No curl braces and single quotes.

This is where i’m getting the error. those red marks under + symbol
Capture8

1 Like

@Chaitanya_podilapu,

Try one thing, if possible place the html body you have generated in a notepad as a html page with <html> and <body> tags then try to open it in a browser, if no issues then it will be opened.

At my first glance you dont have a proper closing tags in break tags Please fix the proper tags before concatenate the value on it. @Chaitanya_podilapu

cheers :smiley:

Happy learning :smiley:

2 Likes

Hey! I’ve quite a few variables inside the body. I’m getting that error when i’m trying to enter variables inside them. like “Hi” +Varible1+ “How are you” +varible2+ “Good Morning”
Something like that.
Thanks!

1 Like

can you please put your html here i will try to fix it @Chaitanya_podilapu
Thanks :smiley:

cheers :smiley:

Happy learning :smiley:

2 Likes

hhhh1.txt (1.2 KB)
In above thread i’ve only posted a screenshot using snipping tool. Breaks are well closed

Hi @Chaitanya_podilapu

I have seen a lot of error of your html tags Please check.

Here is the helper link.

https://www.freeformatter.com/html-validator.html

cheers :smiley:

Happy learning :smiley:

2 Likes

Sorry please. I didn’t have any problem with Html format. I’m getting the error when i’m trying to insert variable inside them?
Thank you!

1 Like

Hello Chaitanya,

Please pass the variable in ‘"+ XYZ +"’, and check .

Cheers

Thanks
Vj

Not working bro! I guess i’d have to rewrite the whole code!

1 Like