Ok This routine only return .T. if the message can be send.
If you use Outlook change the line:
llResult = o.SendMail() && Send again - wait for completion
for this one:
*- This method use the current Microsoft MAPI Protocol. You can see
*- the messages in the outlook or outlook express.
llResult = o.SendMapiMail()
Then you can see your message in outlook.
Juan C.
"Anyone who has never made a mistake has never tried anything new." A.E
"The important thing is not to stop questioning. Curiosity has its own reason for existing." A.E