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 :
The second one is when I send a mail :
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:
I have some errors. The first one is when I reload the skript :
The second one is when I send a mail :
![image](https://user-images.githubusercontent.com/92597516/205145789-e9e88e69-96c6-4139-adc7-5d3830838229.png)
Thanks in advance for your help ^^