angelos3lex / react-native-smtp-mailer

Send emails by connecting to smtp server+attachments, using android javamail and ios mailcore2
39 stars 32 forks source link

a stable connection to the server could not be established #13

Closed HariHipot closed 5 years ago

HariHipot commented 5 years ago

I trying to send email in iPad. i have done the complete procedure as well. but receive this error. I'm using office365 SMTP port with my personal email id.

HariHipot commented 5 years ago

I got answer Guys. I have changed Auth type as MCOAuthTypeSASLLogin and connectionType as MCOConnectionTypeStartTLS.

SainagChunduru commented 3 years ago

Hey @HariHipot, I am also facing the same error.

Could you help me with how you have solved this? And where you have updated AuthType and connectionType.

laraferroni commented 1 year ago

Changing these worked for me. You can set these in RNSmtpMailer.m: https://github.com/angelos3lex/react-native-smtp-mailer/blob/87dcac3b1e98efee0c2a8bad8a030b5a25989711/ios/RNSmtpMailer.m#L41