hmm...
I just tried both solutions... Same result: It timed out.
/Jens
|---------+---------------------------->
| | "Harish |
| | Mohanbabu" |
| | <[EMAIL PROTECTED]|
| | .co.in> |
| | |
| | 09-02-2004 18:05 |
| | Please respond to|
| | development-axapt|
| | a |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------------------------------------------|
| |
| To: [EMAIL PROTECTED] |
| cc: |
| Subject: [development-axapta] Re: sending of emails without using outlook |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Hi Elia,
Please note that Dundas Mailer control is by default installed when
you install Axapta ver 3.0. For more info on this mailer control,
please go to 'SysMailer' class which is available under AOT ->
Classes. Once you there, select 'SysMailer' class and press F1.
The following is the code sample from that help -
-------------------------------------------------
{
SysMailer mailer = new SysMailer();
mailer.body("This is the body of the mail");
mailer.subject("The message subject");
mailer.fromAddress("[EMAIL PROTECTED]");
mailer.fromName("Peter Villadsen");
mailer.tos().add("[EMAIL PROTECTED]");
mailer.tos().add("[EMAIL PROTECTED]");
mailer.attachments().add("c:\\gylle.log");
mailer.sendMail();
pause;
}
------------------------------------------------
Do please make sure you have correctly configured SMTP settings.
Hope this helps,
Harish Mohanbabu
--- In [EMAIL PROTECTED], "elianill"
<[EMAIL PROTECTED]> wrote:
> Hi,
> I�ve found an email concering using SMTP server without an email-
> client sent few months ago.
> When executing the code mentioned, I get the following error-
> message:
>
> Method 'QuickSend' in COM object of class 'DUNDAS.MAILER' returned
> error code 0x80004005 (E_FAIL) which means: The connection timed-
out.
>
> Does anybody has an idea how to go on?
> With best regards and many thanks,
> Elia
>
> *******************************************************************
> With Axapta you have the license to use the dsmailer.dll, placed
in
> your client\bin directory.
>
> With this dll you can send emails directly. Take a look at that
> piece of code:
>
> static void TEST_SendEmail_Dundas(Args _args)
> {
> COM C = new COM("DUNDAS.MAILER");
> ;
> // C.QuickSend(fromAddr, toAddr, subject, body, cc,
attachments);
> C.QuickSend("[EMAIL PROTECTED]
> account.com", "[EMAIL PROTECTED]", "Subject", "Body");
>
> info("email sent");
> }
>
> There's also some documentation at www.dundas.com
>
> Have fun!
>
> Herbert
> -----Urspr�ngliche Nachricht-----
> Von: Anil Vzay [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 11. Juni 2003 09:18
> An: [EMAIL PROTECTED]
> Betreff: [tadorna-axapta] Sending Email without Outlook
>
> Hi,
> How can i send e-mail from Axapta? Also i don't want to use
Outlook
> to send e-mail. Could you help me???
> Thanks..
> Anil Ozay
Yahoo! Groups Sponsor
ADVERTISEMENT
Click to learn more...
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

