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

Support SMTPS when using report -to-email #991

Merged
merged 3 commits into from
Jun 5, 2020

Conversation

shopper29
Copy link
Contributor

What did you implement:

The purpose of this pull request is to provide support for SMTPS when use report -to-email.

Fixes #945

Type of change

  • New feature (non-breaking change which adds functionality)

Key points of changes

【report/email.go】
When vuls report -to-email using port465(SMTPS), smtp client use TLS connection.

How to use SMTPS

Setting config.toml to use port465

[email]
smtpAddr      = "smtp.xxx.xxx.com"
smtpPort      = "465"
user          = "xxxx"
password      = "xxxxxxx"
from          = "[email protected]"
to            = ["[email protected]"]
subjectPrefix = "[vuls]" 

Reference

@kotakanbe kotakanbe merged commit b37df89 into future-architect:master Jun 5, 2020
@kotakanbe
Copy link
Member

LGTM

@shopper29 shopper29 deleted the support_smtps branch June 5, 2020 07:01
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

Successfully merging this pull request may close these issues.

report -to-email smtp not support ssl?
2 participants