Hi,

 

İ got this error three days ago.. I didn’t register Dundas mailer manually, i think it was registered when you installed Axapta. So that, i think you don’t have to register it. Maybe u miss to configure SMTP server, beacuse i missed it. When i configured, it worked successfully.

 

That’s my code :

 

Void sendMail() {

    SysEMailBatch mailer;

    ;

    mailer = SysEmailBatch::construct();

    mailer.parmEmailAddr("[EMAIL PROTECTED]");

    mailer.parmMessageBody("Welcome to Axapta Mail");

    mailer.parmPriority(emailPriority::Normal);

    mailer.parmSenderAddr("[EMAIL PROTECTED]");

    mailer.parmSubject("Message from Axapta");

    mailer.run();

}

 

Under “Administration/Setup/Email Parameters”, you can configure SMTP Settings..

 


From: ooi aikchong [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Email SysMailer error

 

Greetings to all,

I tried to send email using SysMailer class. and Axapta gives me this error.

Method 'SendMail' in COM object of class 'Dundas.mailer' returned error code
0x80004005 (E_FAIL) which means: The connection timed-out.

why?

And how should i register the DunDas COM object in Axapta?

urgent help plsss.

thanks
acOOi

_________________________________________________________________
Using a handphone prepaid card? Reload your credit online!
http://www.msn.com.my/reloadredir/default.asp




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to