react-native-smtp-mailer
react-native-smtp-mailer copied to clipboard
Error: could not connect to SMTP
@angelos3lex I am trying to implement SMTP mail using react native and came to see your library.
The steps are well explained and I followed the same. When I clicked on the submit button I got an error message like this.
.
I just created a new project and paste the following code. https://github.com/angelos3lex/react-native-smtp-mailer/blob/master/example/App.js and modified the fileds like mailhost,port,username,password,from,recipients, and subject with my data. Can you please help me to sort out the issue?
Could you check the logcat on android studio for more info on the error?
@angelos3lex This is the log I got.
log.txt
I was looking into the log and I couldn't figure out where I went wrong. Can u plz help me.
I can't see something either. Seems like a wrong combination of host, username, password, port or ssl. You can use some other way to check connectivity. i googled and found this for example. Do not know if its secure though, but even if not, there should be alternatives
@geethuth any update on this?
I have the same problem. I have tested the configuration and they are ok. I-m using mailtrap for testing
@domenicodngls Is this a problem on both ios and android side?
I've tried only on android, but using Gmail as smtp host it's working fine... Maybe mailtrap has something different