SmtpClient: An extension to send emails using SMTP server

1.Introduction

Description: With this extension, you can send emails using SMTP servers
Latest Version: 1.4
Released: 2020-12-30T18:30:00Z
Last Updated: 2021-09-17T18:30:00Z

2.Blocks

image
image

3.Usages

You can use the extension in this way:

image

And here is a brief documentation:
protocol ~ either TLS or SSL
server ~ string
port ~ int
user ~ string
password ~ string
from ~ string (can be different from username)
recipients ~ list
ccRecipients ~ list (can be empty)
bccRecipients ~ list (can be empty)
subject ~ string
body ~ string
isHtml ~ boolean
attachments ~ list (can be empty)

4.Downloads

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

5.Liked my work/Want to donate

Kindly consider donating some amount to keep me motivated.


Thank you :heart:

6.ChangeLog

ChangeLog Version 1.1

Changes

  • Switched to JavaMail from Commons Net
ChangeLog Version 1.2

Changes

  • Reduced extension's size (by 30%)

Bug Fixes

  • Fixed issue with TLS protocol
ChangeLog Version 1.3

Changes

Bug Fixes

  • Fixed minor bugs
ChangeLog Version 1.4
  • Updated deps to fix issues with Android 11
    Reported by @wikki74

Hope it helps!

20 Likes

Great can I create it for Email bot

Thank you.

Yes,you can.

1 Like

Wow, Wonderful Extension @vknow360 :kissing_heart:

1 Like

(added to FAQ)

1 Like

Hmmmm

Clicking the button:

Clicking, "Yes it was me"

image

will go and check account settings now....

A gmail user will need to change this (found in the Security section)

image

2 Likes

Having enabled less secure apps, I get success :wink:

1 Like

ChangeLog Version 1.1

Changes

  • Switched to JavaMail from Commons Net
    Commons Net has was unable to send email with other smtp providers except Gmail
    Thanks to @TIMAI2
1 Like

ChangeLog Version 1.2

Changes

  • Reduced extension's size (by 30%)

Bug Fixes

  • Fixed issue with TLS protocol
    Thanks to @TIMAI2

Well done.

besides recipients, some time we need to cc or bcc somebody.

1 Like

ChangeLog Version 1.3

Changes

Bug Fixes

  • Fixed minor bugs
1 Like

Awesome extension @vknow360 :star_struck:

Thank you.

2 Likes

Will donate soon :slightly_smiling_face:

3 Likes

I Have try this extension... nothing happen...

1 Like

read the complete thread and 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.

2 Likes

This can be useful when you need to create an OTP sender in your app.

1 Like

Show your blocks.

2 Likes

Just a quick question: Does this extension make the user send an email or automatically send an email?

1 Like

Kindly elaborate more.

2 Likes