Divooka.DSL.Email
Divooka.DSL.Email.Platforms.GMailReportHelper
Remarks
TODO: Deal with password safety
TODO: Refactor into GMail service package (or just keep it here)
TODO: Refactor and make use of existing email helper if appropriate
For authentication issue ("5.7.0 Authentication Required"): https://stackoverflow.com/questions/59632655/the-server-response-was-5-7-0-authentication-required, https://support.google.com/mail/thread/146949535/the-server-response-was-5-7-0-authentication-required?hl=en https://support.google.com/accounts/thread/168836691/using-app-password-still-results-in-5-7-0-authentication-required?hl=en https://stackoverflow.com/questions/75021886/gmail-smtp-send-535-5-7-8-username-and-password-not-accepted
I.e. Go to https://myaccount.google.com/apppasswords to setup an app password. It's very easy to mistype (spaces are not needed) - if problem persists, just check email/app password entries are correct!
TODO: Pending merging with SMTPEmailHelper.SendGmail
Divooka.DSL.Email.Platforms.GMailReportHelper.SendGMailReport()
Returns whetheror not current server is available
Remarks
Ref: https://stackoverflow.com/questions/32260/sending-email-in-net-through-gmail
Ref: https://msdn.microsoft.com/en-us/library/x5x13z6h(v=vs.110).aspx
Parameters
| Name | Description | Default |
|---|---|---|
ExtraSubject |
||
Message |
||
type |
Returns
Divooka.DSL.Email.SMTPEmailHelper
Utility functions for sending an email with SMTP
Divooka.DSL.Email.SMTPEmailHelper.SendGmail()
Remarks
TODO: Pending merging with GMailReportHelper
Parameters
| Name | Description | Default |
|---|---|---|
body |
||
password |