Olyno / SkEmail

Skript addon to send emails
8 stars 3 forks source link

Can't send mail but can connect and read mail. #86

Closed MrY3llow closed 1 year ago

MrY3llow commented 1 year ago

Good evening! I'm trying to send emails via a Google email address. I can connect, I can read the last messages received, but I can't send mails.

Here are my versions: Paper 1.19.2 Skript 2.6.4 SkEmail 1.7

Here are my codes:

on load:
    login to gmail service from mail "mail" and password "password"

command /send:
    trigger:
        make new email:
            set object of email to "Look at this email, it's awesome!"
            set body of email to "This email is so cool, I love it!"
            set receiver of email to "mail"
            send last email created

command read:
    trigger:
        set {_mails::*} to last mails
        loop {_mails::*}:
            broadcast author of loop-value

I have some errors. The first one is when I reload the skript : image The second one is when I send a mail : image

Thanks in advance for your help ^^

Olyno commented 1 year ago

Hi 👋🏻 SkEmail has not been updated for the latest Skript version, so it generates errors. Will be fix in the next release.

MrY3llow commented 1 year ago

Thank you for your reply ! I will test with an older version.

😁