gmail
gmail copied to clipboard
Cannot add html link to email body
when trying to add a html link in the body of the email. It will not add the content in the body when sending
Could you give an error message and a code sample? The Go Playground is handy for code samples.
I do not have an error reported from it. The email body is just blank. However, if I switch the contents of demoName and link, then the link appears in the subject line and the body displays as it should. Here is a snippet of my code per the example:
demoName = "name of demo
link := "https://link-to-aws-file"
email := gmail.Compose(demoName, link)
I'm afraid I can't work out why it's not working. My knowledge of SMTP is very limited; I just wrapped the stdlib package. Sorry I can't help