Sendgrid smtp not working
See original GitHub issueInformation about bug
I’ve set all smtp settings for sendgrid but it doesn’t work. It is showing error “Invalid outgoing mail server or port”, so that system is not saving this account. But when I’m checking “Awaiting password” this checkbox, It is saving account detail. but account is saving as inactive. But when I’m checking “Enable Incoming” it is saving as active but I am unable to select in from list.
Module
CRM, integrations
Version
Installed Apps ERPNext: v13.28.0 Frappe Framework: v13.28.0
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
pull_from_email_account
Traceback (most recent call last):
File "apps/frappe/frappe/utils/background_jobs.py", line 134, in execute_job
method(**kwargs)
File "apps/frappe/frappe/email/doctype/email_account/email_account.py", line 959, in pull_from_email_account
email_account.receive()
File "apps/frappe/frappe/email/doctype/email_account/email_account.py", line 347, in receive
emails = email_server.get_messages()
File "apps/frappe/frappe/email/receive.py", line 138, in get_messages
if not self.connect():
File "apps/frappe/frappe/email/receive.py", line 75, in connect
return self.connect_pop()
File "apps/frappe/frappe/email/receive.py", line 110, in connect_pop
self.pop.pass_(self.settings.password)
File "/usr/lib/python3.8/poplib.py", line 216, in pass_
return self._shortcmd('PASS %s' % pswd)
File "/usr/lib/python3.8/poplib.py", line 179, in _shortcmd
return self._getresp()
File "/usr/lib/python3.8/poplib.py", line 155, in _getresp
raise error_proto(resp)
poplib.error_proto: b'-ERR [AUTH] Username and password not accepted.'
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to Send an SMTP Email | Twilio - SendGrid Documentation
Next, add the email that you're sending from using the SMTP MAIL FROM command and press Enter.
Read more >mail not send via SMTP API using sendgrid - Stack Overflow
When connecting to SendGrid via SMTP using API Keys, you need to use apikey ... If not, try a different port as recommended...
Read more >Troubleshooting the SendGrid SMTP Integration - GridPane
1. Emails are Landing in Junk/Spam or Being Outright Rejected · 2. Your Provider is Blocking Outgoing Mail · 3. Enable WP_DEDUG ·...
Read more >Unable to send email using smtp.sendgrid.net with Email ...
The original client was unable to send emails using smtp.sendgrid.net through both email campaigns and the API.
Read more >How to Configure SendGrid SMTP | Cloudways Help Center
First of all, you need to get your SendGrid username and password that can be used while integrating SendGrid SMTP with your Cloudways...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, the error that’s being shown is of poplib …not smtplib - are you sure things are correctly configured?
closing. please reopen if the configuration is correct and the issue still persists.