#NodeMailer

30 messages · Page 1 of 1 (latest)

soft dragon
#

this is the Hostinger settings on the website

#

When i change the port to 465 and the secure to true
the error become like this

left oak
#
  // Generate test SMTP service account from ethereal.email
  // Only needed if you don't have a real mail account for testing
  let testAccount = await nodemailer.createTestAccount();
#

Looks like you're using a test method with a live email server.

#

Have you tried using createTransport instead of createTestAccount?

soft dragon
#

i am now using this code and its the same
this code from the nodemailer docs

#

This error is with me since 8 hours 😣

left oak
left oak
#

Does Hostinger, or your email, have SMTP enabled?

#

Also, if you can connect and send an email to https://mailtrap.io, that will pinpoint that Hostinger is the problem area.

soft dragon
#

Ah,,,

#

it solved ..

#

its because syria is banned from the USA and i am living there

#

nevermind

left oak
#

Glad you got it figured out at least.

ivory halo
#

@soft dragon Please do not delete your posts on e you have an answer

soft dragon
#

I thought that i want to clear the code-help from answered questions

ivory halo
#

So other people can see? It doesn't take up space.

#

If you want you could put a little ☑️ or something to say you're good with emoji

#

Other people may have the same problem and see what you did to fix it. This is valuable

soft dragon
ivory halo
#

You never know!

soft dragon
#

RogerThat