RosettaCodeData/Task/Send-email/Pike/send-email.pike
2023-07-01 13:44:08 -04:00

8 lines
239 B
Text

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);
}