SkEmail

Addon SkEmail 2.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

*Too boring to write a release note, checkout the github*
Patch note
  • Fix syntax conflict with name expression of Skript
Description:

A lot of you told me there are some error messages with 1.6 and some issues. Here is a release (probably the latest, I hope) with fix.

Patch note:

New:

  • SkEmail is now available only on Github
Fix:
  • Fix error message for nothing
Description

This version of SkEmail does not contain much of a major features, but it should be noted that it contains many improvements that can potentially improve your code.

Patch note

New:
  • Effects Async: each effects are now async!
  • Size reduced: the size of SkEmail has been reduced a lot!
  • Auto update source code: using Bitbucket pipelines, all changes on the Bitbucket repository will be available on this repository too!
Description

I am happy to finally introduce SkEmail version 1.5. This version has many changes, especially in the source code. I wanted to get as close as possible to the javamail API (which was not the case in the beginning).
In this version, you will have events (finally!), syntax updates and the redesign of many features.

Patch Note

Events:
  • Added [e]mail (sent|transport) event
  • Added [e]mail connect(ed|ion) event
  • Added [e]mail disconnect(ed|ion) event

Effects:
  • Added (logout|disconnect) %string% [from [all] connected [e]mail effect
  • Rework send email effect: send %email% [to %-string%] [(using|with) (%-session%|%-string%)]

Expressions:
  • Added [the] last[ly] [e]mail (sent|transported) expression
  • Added %string% as %recipienttype% expression (like "[email protected]" as bcc)
  • Added sent date of email and email's sent date expressions (property expression)
  • Added [new] <\w+> (service|session) expression (like new gmail service)
  • Deleted all services expressions (like gmail, yahoo, hotmail etc...)

Scopes:
  • Rework email creation scope: (make|do|create) [new] [e]mail [(using|with|for) [account] (%-session%|%-string%)]
  • Deleted services' scope

Types:
  • Added iaddress type
  • Added email type
  • Added internetaddress type
  • Added session type
  • Added address type
  • Added folder type
  • Added recipienttype type

New:
  • A command is now available with SkEmail. Make /skemail help to see more.
  • Metrcis for stats have been added.
  • To add a custom mail service or edit a current service, a file named services.yml is available in plugins/SkEmail/services directoy. Just take one of all existing service and make the same.
Fix:
  • Fix new line expression (replace new line with <br>)
  • Fix emails to UTF-8 (for special chars)
  • Like
Reactions: Ayham Alali
In this version, you'll see:
  • Syntax of login changed ==> account|session is now optionnal
  • A lot of new services are available (like yahoo, gmx etc...) as expression
  • Update description of the addon (last one was not good to see, seems to be better now)
  • Added expression author of %emailcreator% and %emailcreator%'s author
If you have a problem with the login effect, it provides from javax.mail. Just reload your server to make login changes.
Heya, everyone!
I have the honour to present you the 1.3 version of SkEmail! In this version, many syntaxes have changed such as the login system, the mail service creation system etc.... I therefore invite you to check your code according to the new syntaxes: http://skripthub.net/docs/?addon=SkEmail

Many errors can appear with this version, don't hesitate to report them to me by creating an issue.
  • Like
Reactions: AlvianMinecraft
I am pleased to introduce you to version 1.2 of SkEmail. Here is what this version adds:
  • The special characters and symbols work in the email and no longer return "????"
  • You can configure your own mail service in the configuration file available in plugins/SkEmail/config.json
  • You can now read the emails in your mailbox via the following syntaxes:
code_language.skript:
[the] last[ly] [%-integer%] [e]mails [(in|from) [the] [box] [(named|with name)] %-string%]
receiver[s] of %emailreader% ; %emailreader%['s] receiver[s]
body of %emailreader% ; %emailreader%'s body
(from part|author[s]) of %emailreader% ; %emailreader%['s] (author[s]|from part)
(title|subject|object)[s] of %emailreader% ; %emailreader%'s (title|subject|object)[s]

A lot of syntaxes changed too, so check syntaxes on skripthub or skunity doc.
This is version 1.1 of SkEmail. This is a version that adds:
  • many additional messaging services
  • the possibility to add several recipients as well as several files to attach.
  • the possibility of using html
  • many more precise errors
  • some fixed bugs
  • a cleaner code
  • the beginning of version 1.2
Report me all bug you find in Issues please

Infos here: https://github.com/AlexLew95/SkEmail/releases/tag/1.1