Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

send email after job queue is completed

$
0
0

NAS is working and job queue entries are successfully running, however email can't be sent ...

I managed to get it working to the point where email messages were created and get to the SEND statement:

When SMTP.Send is used (having the SMTP Setup done), i received the following error (though the email did get sent subseqently)

The SMTP mail system returned the following error: (0x80040213): The transport failed to connect to the server.

When cu 398 (Mail) NewMessage, it EXIT because of failing to log on at the line IF NOT OApplication.Logon (..) -> logoff and exit, hence email didn't get to the .SEND at all.

What is the best way to resolve this issue?

 


Viewing all articles
Browse latest Browse all 15740

Trending Articles