Edit an html with some string lines

1 Ansicht (letzte 30 Tage)
zbingos
zbingos am 14 Feb. 2021
Beantwortet: Matt Gaidica am 15 Feb. 2021
I have an email and I want to add these lines insides it's body html. How I could combine the old html body with these word text lines in one final html. My final purpose is to reply to the fisrt mail.
Thank you for your time

Antworten (1)

Matt Gaidica
Matt Gaidica am 15 Feb. 2021
If you just need to jam it in there:
HTMLtag = "</body>";
myText = "Please follow this link:</br><a href=...";
strrep(emailHTML, HTMLtag, myText + HTMLtag);

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by