SMTP / Email from SuperCollider

Maybe a bit of a strange question, but does anyone know an efficient, and ideally cross-platform, way of sending emails from SuperCollider?

I don’t see any native SMTP in SC. Other languages like python have such libraries of course, but running a secondary email relay in Python is a bit overkill. I just need to send one email every few minutes.

I’d be extremely suprised if anyone’s implemented SMTP in SC. My advice would be to call out to a shell command (e.g. msmtp) from SC.

Ok, I just went ahead and did that. Using ‘curl’ — which felt like a pretty cross-platform approach.

In case anyone else would find such a class useful, it’s on github here: