Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using an MTA - best practice #3

Open
Zonalds opened this issue Feb 12, 2025 · 1 comment
Open

Using an MTA - best practice #3

Zonalds opened this issue Feb 12, 2025 · 1 comment

Comments

@Zonalds
Copy link

Zonalds commented Feb 12, 2025

I noticed that NodeMailerMTA() isn't recommended for sending out email. I am not well versed with MTAs, can you explain a little bit why this is a bad idea? We have the same exact setup including the signing of emails right now, it doesn't work as should and TLS doesn't work for some mail providers like Zoho. So I am curious as why using something like this is a bad idea.

In the code processOutgoingWithQueueMailDirectDelivery or processOutgoingMailWithTransporterDirectDelivery is suggested but I can't seem to find these functions anywhere in the codebase.

I decided to open a fresh issue so anyone from the future could search and find this.

@Mullayam
Copy link
Owner

Hey @Zonalds,I sincerly apologize for the delayed response.

Let me resolve your issue one by one.

  1. it doesn't work as should and TLS doesn't work for some mail providers like Zoho
    well I haven't faced any issues for sending mail to providers like zoho, I tried to sending mail to Zoho its working.
    only exceptions Outlook and icloud which require IP whitelisting have their own policy.
  2. In the code processOutgoingWithQueueMailDirectDelivery or processOutgoingMailWithTransporterDirectDelivery is suggested
    I have removed this code and upgraded with newer sending method or upgraded methods.
    I chose mta because for simple use, otherwise u can directly send mail to their DNS Server, using TCP/tls connection which is like complicated for the first time for a developer , like EHLO,HELO,MAIL_FROM etc..
    I'm doing research how can I improve mail sending can be possible or how big companies sending.

and Please do feel reach out to me.

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

No branches or pull requests

2 participants