Hey,
Is is possible to use an external script to send mail to a user? What I am attempting to do is send an offline message to a user when a request that they have made (to a release/request bot I've made) has been filled. Is there a way to to this from a script or will I have to modify the mailbox database file manually?
Thanks,
pR0Ps
EDIT: After some experimenting, simply updating the file is not enough, the entire DiXBot script must restart. Any ideas or am I going to have to develop my own mailbox script?
There are various ways to do it, you can edit the file, using the script and add the new offline message, you can use the function from the offline script through your "request/release "script.(using dofile("offlinescript.lua")), you can copy the offline script function to your script and that will store the offline message.
There are millions of ways to kill a cat, you just have to choose the most effective way for you.