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

how to set timeout when send #197

Closed
imqishi opened this issue May 29, 2024 · 2 comments
Closed

how to set timeout when send #197

imqishi opened this issue May 29, 2024 · 2 comments

Comments

@imqishi
Copy link

imqishi commented May 29, 2024

sometimes I found that send will block, so is there any way to set timeout to avoid program hang?

@wneessen
Copy link

To my knowledge the package does not support timeouts. Unfortunately also the maintainer has sadly passed away.

You might want to consider checking wneessen/go-mail which has context.Context support.

@imqishi
Copy link
Author

imqishi commented May 31, 2024

To my knowledge the package does not support timeouts. Unfortunately also the maintainer has sadly passed away.

You might want to consider checking wneessen/go-mail which has context.Context support.

Thanks for your help, I will try it ~

@imqishi imqishi closed this as completed May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants