Valid(PUT ( "EMAIL" ," -PR MAPI -TO xxxx@xxxx.com -SUB Your own subject -ATT attach.txt," ,
PACKAGE ( Error_Msg )) ,Fail("error sending email"))
for internet :
Valid(PUT ( "EMAIL" ," -PR INET -TO xxxx@xxxx.com -SUB Your own subject -ATT attach.txt," ,
PACKAGE ( Error_Msg )) ,Fail("error sending email"))