Hi all,



We tried to send automatically created e-mails from Axapta via SMTP It
worked well for some recipient like @yahoo.com and @121metre.com But for
some recipients (like @hotmail.com, @gmail.com, @operatech.com.tr,
@evyap.com.tr)  we receive time-out error which you can find attached



Here is our code for that:



   SysMailer mailer = new SysMailer();

    mailer.body("This is the body of the mail");

    mailer.subject("The message subject");

    mailer.fromAddress("from ");

    mailer.fromName("name");

    mailer.tos().add("[EMAIL PROTECTED]");

    mailer.sendMail();



after the error we tried to incresed the time-out limit as you may see below
but nothing



SysMailer mailer = new SysMailer();

    mailer.timeOutConnect(3600);





We need help on this



We can send e-mail over outlook using the class "sysInetMailer" 

But the customer doens't want this solution because they need to be logged
on the server all the time and an outlook client must be working all the
time ...



That's why we used the SMTP solution as an alternative to these..



Is there any other ways of sending e-mails rather than "sysInetMailer" and
"sysMailer"



Thanks in advance



Nilay Uygun



[Non-text portions of this message have been removed]





SPONSORED LINKS
Microsoft business solution Microsoft axapta Basic programming language
Computer programming languages Programming languages Java programming language


YAHOO! GROUPS LINKS




Reply via email to