Send mail with NAS

madaNOVmadaNOV Member Posts: 13
edited 2005-08-11 in Navision Attain
Hello!

Can somebody tell me if there is some way i can send mail with Navision Application Server!
I've tried to call a single instance codeunit witch has the job to send mail to a specific e-mail address, in the NasHandler function from the Application Management codeunit...and it failed.

Thank you!

Comments

  • krikikriki Member, Moderator Posts: 9,112
    -First you should check the event-log to see which error the NAS gave.
    -You might also try to run the email-sending without the NAS to see if it works. If at a certain point, your email client wants your permission to send the email, it won't work with the NAS, because you cannot give permission there. I know there should be some possibility to setup the email server NOT to ask permission for sending an email from another program. For more info, you should consult the Microsoft site (in case you are using Microsoft software of course).
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • madaNOVmadaNOV Member Posts: 13
    There was no error in the EventViewer and if i run the codeunit without NAS it works.

    I've installed an application who allow me to send mail without asking me to have the permission.
  • krikikriki Member, Moderator Posts: 9,112
    Put some messages in the different parts of the code the NAS should do to get to the point to send the email. These messages will show up in the eventviewer. If they don't show up, it means they were not executed by the NAS.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.