Send an email

Uax

Novice
Member
Joined
Jan 10, 2018
Posts
14
Hey guys is there a way to send an email through pokemon essential script? I tried for hours but having no results. Is it possible?

I would appreciate any kind of help.

TY
 

Uax

Novice
Member
Joined
Jan 10, 2018
Posts
14
My idea was to do a script that get activated via event and send a message to a real email address for example when a player finish the game.

I saw that the library for SMTP messages is not there so I tried to include via "require" but it didn't work.
 

Luka S.J.

Wastage of Time
Member
Joined
Mar 27, 2017
Posts
97
Hmm ... you could try going through cmd? Using the system and a properly generated command string, you can launch cmd commands through Ruby. So in this case, maybe using Telnet or something of the like would allow you to send e-mails by going through the cmd (I have my suspicions that services like GMail would filter all of that into their spam folders anyway).

A quick google search gave me a couple of links:
https://mediatemple.net/community/products/dv/204404584/sending-or-viewing-emails-using-telnet
https://stackoverflow.com/questions/18652001/send-mail-via-cmd-console
 

Uax

Novice
Member
Joined
Jan 10, 2018
Posts
14
mmm I wasn't thinking about something so elaborate, but rather a simply email or http request that saves the progress checkpoints of the players.

After digging I find out that there were already implemented function similar at the one that I needed used for the mistery gift.

With some changes I managed to get what I wanted.

TY guys
 
Top