gmailCredentials.properties
This configuration file is tailored for setting up the Gmail environment to both read emails π₯ and send automated reports π€. While the sending feature is solely for dispatching automation reports π, the reading feature is predominantly utilized for web actions π».
Gmail config file Content π
For Sending Email π€
GmailSentEnable:
Values:
trueorfalse.Determines if the email sending capability is active.
Example:
GmailSentEnable=false
GmailEmailTO:
Designates the primary recipient's email address π―.
Example:
[email protected]
GmailEmailCC:
(Optional) For the carbon copy recipient's email address π.
Example:
[email protected]
GmailEmailBCC:
(Optional) For the blind carbon copy recipient's email address πΆοΈ.
Example:
[email protected]
GmailEmailSubject:
Provides the subject heading for the email π.
Example:
GmailEmailSubject=Test Subject
GmailEmailBody:
Contains the central content or body of the email π.
Example:
GmailEmailBody="Please Find The Attached Report File!"
For Reading Email π₯
maxRetries:
Specifies the number of retry attempts if the initial email retrieval fails π.
Example:
maxRetries=1
retryIntervalMillis:
Dictates the pause duration in milliseconds between consecutive email retrieval retry attempts β³.
Example:
retryIntervalMillis=1000
For Both Sending and Reading Email π€π₯
GmailEmailUser:
Your Gmail email address.
Example:
[email protected]
GmailEmailAppPasscode:
The app-specific password generated from your Google account π.
Example:
GmailEmailAppPasscode=yourapppassword
It's paramount to practice caution when managing this configuration file π‘οΈ. Store it securely and avoid inadvertent sharing or committing of actual credentials to any public platform. For enhanced security, always opt for app-specific passwords over your primary Gmail password π.
File
Last updated
Was this helpful?