gchiu / rebolbot

A stackoverflow chat bot for Rebol
20 stars 6 forks source link

Add smtp client for admin notification of errors #22

Open johnk- opened 11 years ago

gchiu commented 7 years ago

this should be easy enough. We just sign up for a sendgrid account which doesn't need a dkim. that's what I'm doing with rebolchat.me.

Or, how about it posts the error to a rebolchat.me rebolbot error topic??

asampal commented 7 years ago

Yeah, that's not a bad idea, posting to a topic. It'll appear in the chat too.

gchiu commented 7 years ago

Ahhh... don't want it in the chat as well 👎

gchiu commented 7 years ago

import <smtp> import <send> set-net [ compkarori+bot@gmail.com "smtp.sendgrid.net:465" _ "apikey" "..private..api..key..which..is..not..shown..here.." "rebol.info" ]

send/subject john@whereever.com error-message "Rebolbot Error"