Hi everyone,
I have a form with a few records with email and smtp server. When i register e.g., a invoice, the procces search the email of the client, and in this table, search one of these emails to put as FROM. When i have one record of each type (clien and provider, altogether 2 records) the procces works fine, send the email. But when i have 3 records (2 for client, 1 for provider) when i try to send email i get the next error:
-->
Error sending mail in : No se pudo enviar el mensaje al servidor SMTP. El código de error de transporte fue 0x80040217. La respuesta del servidor fue not available
(0x80040211)
I search in internet and get:
|
0x80040217
|
The transport was unable to log on to the server.
|
|
0x80040211
|
The message could not be sent to the SMTP server. The transport error code was %2. The server response was %1
|
And on code, the sentence who throw the error is in SysMailer\sendMail() -->
comErr = _COM.error();
if (comErr)
{
ret = checkFailed(strfmt(@"Error sending mail in %1: %2 (0x%3)",
comErr.source(),
comErr.description(),
int2hex(comErr.number())
));
}
I can't get in to this method so i dont know how to solve this problem.
Im using AX 2009
The table:

I don't know what's the problem. Any ideas?
Thanks