Hi All,Request your help on sending Mails, I am able to receive mails with empty body the line "smtp.message ="Example Message" doesn't seem to be working and also please let me know how do i send a file as a attachment in a email.
import std.net.curl;
void main ()
{
auto smtp = SMTP("smtp://server.com");
smtp.mailTo = ["[email protected]"];
smtp.mailFrom = "[email protected]";
smtp.message = "Example Message";
smtp.perform();
}
From,
Vino.B
