Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
3165 Ansichten

I am using Odoo 15 and I've configured Outgoing mail server using Sendgrid account.


I set "SMTP User name" = "apikey" and in "From Filter"= email_address


Now when I try to send Email from "Send By Email" button of Sale order it sets Email from "apikey" and email failed to send.


Also If I send email frpm "Send Message" it fails.


Can anyone have any idea how to fix this? 


Thanks

Avatar
Verwerfen

Did you test the connection from the Outgoing Mail Server? Was it successful?

Autor Beste Antwort

Hello All,


I found solution for this. Created module to set email_from from 'From Filter' filed instead of 'SMTP User Name'.

Avatar
Verwerfen
Beste Antwort

Hi,
We have a custom module will help send emails through SendGrid Mailing Service, Please check whether it meet your requirement

Here is the link to the app:
https://apps.odoo.com/apps/modules/15.0/sendgrid_email/

Hope it helps

Avatar
Verwerfen
Beste Antwort

you can check the following sections:

  1. Verify API Key: Ensure that you have entered the correct API key provided by SendGrid. The API key should have sufficient permissions to send emails.

  2. SMTP User name: Set the "SMTP User name" field to "apikey" as you mentioned.

  3. From Filter: In the "From Filter" field, you should specify the email address from which you want to send emails. Make sure you enter a valid email address associated with your SendGrid account.

  4. Sender Email Address: Check the email address associated with the user sending the email. Odoo uses the user's email address as the sender by default. Ensure that the user's email address is valid and matches the "From Filter" value or the configured SendGrid sender email address.

  5. Outgoing Mail Server Configuration: Double-check the configuration of the outgoing mail server in Odoo. Make sure you have entered the correct SMTP server, port, SSL/TLS settings, and authentication details (SMTP User name and Password, or API Key in this case).

  6. Test Connection: Use the "Test Connection" button in the outgoing mail server configuration to verify the connectivity to the SendGrid server. It will help you identify any connection or authentication issues.

  7. Email Templates: If you are sending emails from automated actions or workflows, ensure that the email templates used in those actions are correctly configured. Verify the sender email address and the template content.

  8. Error Logs: Check the error logs in Odoo for any specific error messages related to email sending. You can find the logs in the "Settings" menu under "Technical" -> "Logging" -> "Error Log".


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juni 25
1926
3
Juli 25
3517
1
Mai 25
1635
1
Mai 25
1886
4
Mai 25
3007