Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Can't send the mail #49

Open
karthicktkm opened this issue Mar 24, 2016 · 3 comments
Open

Can't send the mail #49

karthicktkm opened this issue Mar 24, 2016 · 3 comments

Comments

@karthicktkm
Copy link

Hi,
I am can't send the mail in Pagerduty. Please help me how to configure the mail setting.

I have configured the mail setting in here method

EMAIL_SETTINGS = {
'user': "[email protected]",
'password': "password"
}

If above step right. But send the mail and not error getting me.

@krutaw
Copy link
Contributor

krutaw commented Nov 20, 2016

@karthicktkm Have you checked your gmail account to see if "less secure apps" access has been enabled? Does it say that it sent successfully in the celery worker output?

@kjetilmjos
Copy link

Are you able to send notifications? #90
Investigating email sending myself at the moment, looks like emails beeing classified as spam is a problem.

@kjetilmjos
Copy link

Got email working.
Had to remove port in email.py
line 39 should change to this: server = smtplib.SMTP(host)
My config looks like this:

EMAIL_SETTINGS = {
    'user': 'email-username',
    'password': 'email-password',
    'host': 'mail-host',
    'port': '465',
    'tls': True
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants