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:
true
orfalse
.Determines if the email sending capability is active.
Example:
GmailSentEnable=false
GmailEmailTO:
Designates the primary recipient's email address 🎯.
Example:
GmailEmailTO=gaddamprabhat@gmail.com
GmailEmailCC:
(Optional) For the carbon copy recipient's email address 📎.
Example:
GmailEmailCC=cc.email@gmail.com
GmailEmailBCC:
(Optional) For the blind carbon copy recipient's email address 🕶️.
Example:
GmailEmailBCC=bcc.email@gmail.com
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:
GmailEmailUser=your.email@gmail.com
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?