Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add html link to email body #3

Open
Zero-Prime opened this issue Nov 15, 2016 · 3 comments
Open

Cannot add html link to email body #3

Zero-Prime opened this issue Nov 15, 2016 · 3 comments

Comments

@Zero-Prime
Copy link

when trying to add a html link in the body of the email. It will not add the content in the body when sending

@SlyMarbo
Copy link
Owner

Could you give an error message and a code sample? The Go Playground is handy for code samples.

@Zero-Prime
Copy link
Author

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)

@SlyMarbo
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants