Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
B
bloclink
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • bloclink
  • Merge Requests
  • !79

Merged
Opened Jan 09, 2020 by Tillie Kottmann@deletescapeOwner

Bi 715 Send emails from testing@blocpower.io

  • Overview 0
  • Commits 5
  • Changes 3

Created by: RujitRaval

Send emails from testing@blocpower.io(If the environment is not Prod.)

Goal: In order to declutter the outbox of the welcome email, we should use our personal emails when testing as the emails for sending.

Add this to your .env file: EMAIL_HOST=smtp.gmail.com EMAIL_PORT=587 EMAIL_USE_TLS=True EMAIL_PROD_USERNAME=welcome@blocpower.io EMAIL_PROD_PASSWORD=zdjiztpyaymeyhdb EMAIL_USERNAME=testing@blocpower.io EMAIL_PASSWORD=qgjigrfmbmjarrgd

Test: Pull and submit the survey. On your provided email ID you should get thank you email from testing@blocpower.io On dev@blocpower.io the email Test - BIS - XXXX should be from testing@blocpower.io You can also test this on dev

Issue fixed: BI-715 Don't send emails from welcome@blocpower.io in Local, Dev, and Staging

Note: I have also refactored the code to reduce the repetitive calls to the email function. Let me know if you have any questions/suggestions and/or issues running this locally.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/blocpower/bloclink!79
Source branch: BI-715-Email-from-testing