SmtpClient: An extension to send emails using SMTP server

Oh ok , using this block right? :

image

Yes, that will work.
@TIMAI2 Sir kindly open this topic.

Thanks A Lot !! It is working Perfectly now. Thanks Again :grinning:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

As mentioned in another post, this is not working anymore in Android 11 by me (same as other Email extensions).
Below Android 11 everything is fine, but with Android 11 nothing happens, no errorMessage, no successful Message

PS: In apps already running a certain time (weeks) everything is fine, but not in new compiled apps

Maybe you need to set From field same as email.

No, same with FROM field filled out...

Nothing happens

Then post apk link here. :slightly_smiling_face:

I cant post an apk with my email Info :relieved:

But strange, I just created a new project, imported ONLY your extension, made a button and a label.

Test 1 was sucessful, email was sent!

After Test 1 all further tests gave me no output, so it was just successful once !

Maybe GotError will print the error you are looking for.

Maybe, but you just can't post the link in this topic.

Can't you read the title of this topic? Does it look like a normal discuss category topic?

After compiling in a new created app, everything is working..... emails will always be sent (in a new project) but in companion it is only working once

So it is working, finally. :grin:

Nope sry, see this:

https://issuetracker.google.com/issues/172544275?pli=1

Extension already uses activation and additional jars but not the latest version of those.So maybe that's the problem.

ChangeLog Version 1.4

  • Updated deps to avoid issues with Android 11

Aix: com.sunny.SmtpClient.aix (959.2 KB)

4 Likes

what is port in this?

That should be provided by SMTP host.
Usually for TLS it is 587 and for SSL it is 465.

Hello, sir is username and password compulsary?