Edit an html with some string lines
1 回表示 (過去 30 日間)
古いコメントを表示
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/519417/image.png)
Thank you for your time
0 件のコメント
回答 (1 件)
Matt Gaidica
2021 年 2 月 15 日
If you just need to jam it in there:
HTMLtag = "</body>";
myText = "Please follow this link:</br><a href=...";
strrep(emailHTML, HTMLtag, myText + HTMLtag);
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!