Closed kshitij10496 closed 5 years ago
I change the configuration of smtp server in the code and it send well with Gmail smtp. And you can also use the api to get the report: /api/1/report
Hey @haihn168
Thanks for replying. Would it possible for you to share a sample of the changes you made to the SMTP server? I would be very grateful if you help me fix it.
Below is my code for gmail smtp, you should change it in EmailSender.scala and recompile the code. Don't forget to add the parameter email when starting the proxy:
`private[this] val props = new Properties props.put("mail.smtp.host", "smtp.gmail.com") props.put("mail.smtp.auth", "true") props.put("mail.smtp.port", "587") props.put("mail.smtp.starttls.enable", "true")
private[this] val session = Session.getDefaultInstance(props, new Authenticator() { override protected def getPasswordAuthentication = new PasswordAuthentication("$emailhere", "$password") } )`
@haihn168 @puneetkhanduri I am trying to do the same here. Because i have enabled the 2 factor authentication, I want to check what should be the app name when configuring on google account ?
@meeraeldhose I dropped this project 2 years ago. No idea now.
I'm trying to export the report via the email extension provided by
diffy
. After reading all the documentation and most of the code, I could figure out that specifyingnotifications.targetEmail
flag would automate an email fromDiffy <diffy@no-reply.com>
Here is the docker command being used:
Assuming that a SMTP service (namshi/smtp image) listening on
localhost:25
accessible by the container. (I'm running both of them in a K8s pod). However, I'm not able the diffy is having issues sending the email. Is there a workaround to exporting data fromdiffy
?