SmtpClient: An extension to send emails using SMTP server

@alexa32 please ask on the Kodular community, you are using Kodular.

Both the events are triggered if any error occurs so what's happening with your app is likely to happen.
But, before asking a question in App Inventor Community make sure you post the blocks of AI2.

does anyone have an aia file to share by download link? just a minimal working app. I can't get mine working.thanks

what about following the 3. Usages chapter of the first post in this thread, see

Taifun

Of course. i followed 3, using my own info. I tried the other successful example. I can't get it to work.

An aia file would give me a working example to modify. thanks

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

i used/modified your aia file for listing installed apps, and it worked great, thanks. If you could just export an aia file and email it or post it, I'm sure I could get the example working and modify it very quickly. I could then write a quick post explaining my errors. Thanks

I'm sure we can find out what is wrong in your blocks... you only have to post them... thanks...
Taifun

does anyone have working aia code to share on this? preferably a bare bones example? there have been a number people who have had problems with the posted examples, but later have gotten it to work. ....e.g.

with a simple example, i could get mine working and share my bugs. a back and forth with questions and answers and posting code is time consuming with a many wrong paths, as conversations show.

I agree.. therefore you should post a screenshot of your relevant blocks so we can continue
Taifun

if anyone has working aia code to share, I'd appreciate it, as there is on most every extension. It would lead to a quick solution about which I could then make one posting. Thanks

see the first post in the topic for an example of how to use the blocks.

Hi @jhn
If there had been designer properties or complex logics for setup/initialization of extension, then I would have surely posted the aia file.
You can find the demo blocks in first post.

Hi may I ask how can I make attached?

Get the absolute file path to the file on your device (ensuring it is readable), put that in a list, attach the list to the attachments socket in the extension block. Read posts 44,45,46 in this topic.

Hi thank you for replay, but the path i setting it doesn't sent attachment, can you help me look , thank you very much !!

Can you try with a path like /storage/emulated/0/filename.pdf ?

Replace the (red) crossed-out part with:
/storage/emulated/0

That is work for me, thank you :grin:

Thank you very much!!