I use this
to create a link in receiver but I receive a plain text like this
. What I want is a link to facebook like this www.facebook.com and when I click on it will drive to facebook.com. So I do the right thing?. Can I do this without html mail template?
Your HTML seems to be invalid. href="http://www.facebook.com"
is exactly the output what is expected when using such html
what do you mean when saying "Your HTML seems to be invalid"?. I just want to create a link to www.facebook.com (just example) in body of receiver, so what should I do? Thanks!
Your html is like this:
<a> href="http://www.facebook.com"</a>
but it should be
<a href="http://www.facebook.com">link title</a>
href property is outside the <a> tag, so this has nothing to do with Nodemailer but is related of how you generate your HTML
Oh my god!, my head, I so sorry. Maybe I work so much and need some sleep. Thank you so much for your help. This is very simple, the problem is me. By the way, this is wonderful example for me
Most helpful comment
Oh my god!, my head, I so sorry. Maybe I work so much and need some sleep. Thank you so much for your help. This is very simple, the problem is me. By the way, this is wonderful example for me