I havent been testing it more, but I have been doing some thoughts about
this.
It seems that SysMailer actually calls dundamailer, so both solutions
should give the same result. Sysmailer is aparantly just a wrapper.
As I cannot find anywhere to tell sysmailer (or dundamailer) which SMTP
server (or POP3 server) to use, it has to take values from Windows default
mailer.
On my workstation I have MS Outlook installed, but I never use it. There
are no accounts defined in it.
I normally use Lotus Notes as mail program.
I have a hunch that Windows thinks that Outlook is my normal mailprogram,
and this is probably why it will time out.
I am not sure of these things, but I think it could be the issue.
'
/Jens
|---------+---------------------------->
| | "elianill" |
| | <[EMAIL PROTECTED]|
| | e> |
| | |
| | 11-02-2004 08:53 |
| | Please respond to|
| | development-axapt|
| | a |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------------------------------------------|
| |
| To: [EMAIL PROTECTED] |
| cc: |
| Subject: [development-axapta] Re: sending of emails without using outlook |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Hi Harish,
I made the same expiriencies as Jens before....
Do you have any other ideas how to solve?
Best regards,
Elia
--- In [EMAIL PROTECTED], Jens Fudge <[EMAIL PROTECTED]>
wrote:
>
>
>
>
>
> 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: development-
[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.
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.

