Hi,
  One posible solution about your problem is to put in the
file "hosts" the ip and the name of the mailer server host. This
host is the same one parameters you indicated on Axapta email
parameters.
  The route of the file for windows xp is:
C:\WINDOWS\system32\drivers\etc\hosts

try to do this.

Regards,
Cesar.
 


--- In [email protected], jaiver avila
<[EMAIL PROTECTED]> wrote:
> I am using the class Sysamailer to send email.
> In a SO  windows 2000 SERVER is execute  correctly in
> windows 2003 server not.
>
> What is the problem?
> the error is: Object 'COM' could not be created
> No se pudo crear el objeto COM de la clase
> 'Dundas.mailer'. Asegúrese de que se ha registrado
> correctamente en el ordenador 'SW2K3PO01'.
>
>
> The code is next:
> static void Envio_correo_smtp(Args _args)
> {
> userinfo user;
> str usuario;
> //SysMailer mailer;
> SysMailer mailer = new SysMailer();
> ;
>
>
> select   user where user.id == curuserid();
> usuario=user.name;
>
> try {
>
> mailer.fromAddress("[EMAIL PROTECTED]");
> mailer.fromName("[EMAIL PROTECTED]");
>
> mailer.subject('Warning Nexsysla_Orders to Axapta');
> //custEmailAddress = custTable::find(.....);
>
> mailer.tos().add("[EMAIL PROTECTED]");
>
> mailer.body("Attached please find documents for period
> " + date2str(SYSTEMDATEGET(),123,2,1,3,1,4) + " to " +
> date2str(SYSTEMDATEGET(),123,2,1,3,1,4));
>
> mailer.SMTPRelayServers().add(SysEmailParameters::find
().SMTPRelayServerName,
>                                 
> SysEmailParameters::find().SMTPPortNumber,
>                                 
> SysEmailParameters::find().SMTPServerIPAddress,
>                                 
> SysEmailParameters::find().SMTPUserName,
>                                 
> SysEmailParameters::find().SMTPPassword);
> //mailer.attachments().add("C:\\p.txt");
>
> mailer.sendMail();
> } catch (Exception::Error) { PRINT "MAL" ;}
>
> }
>                         
>
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/







SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to