RosettaCodeData/Task/Send-email/Pike/send-email.pike

9 lines
239 B
Plaintext

int main(){
string to = "some@email.add";
string subject = "Hello There.";
string from = "me@myaddr.ess";
string msg = "Hello there! :)";
Protocols.SMTP.Client()->simple_mail(to,subject,from,msg);
}