콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
3206 화면

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

아바타
취소

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

작성자 베스트 답변

Hello All,


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

아바타
취소
베스트 답변

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

아바타
취소
베스트 답변

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".


아바타
취소
관련 게시물 답글 화면 활동
1
9월 25
2005
1
6월 25
2025
3
7월 25
3612
1
5월 25
1741
4
5월 25
3070