Abort was called from an action.

Every time i try to run below CODE i see this error "Abort was called from an action."

Action()
{
smtp_logon("logon","URL=smtp://XXX@XXX.com",LAST);

smtp_send_mail("SendMail",
"To=XXX@XXX.com",
"CC=XXX@XXX.com",
"BCC=XXX@XXX.com",
"Subject=BPM Sample Test",
"From=XXX@XXX.com",
"MAILOPTIONS",
"X-Priority:3",
"MAILDATA",
"MessageText=abc123",
"Content-Type:text/plain;\r\n",
"\tcharset=\"iso-8859-1\"\r\n",
"Test,\r\n",
"MessageBlob=16384",
LAST);
smtp_logout();
return 1;
}