Hello there.
Today I was asked to do something a bit more "hard core" than I'm used to.
I was asked to work with emailing in Navision.
So, for now, I need to know how to add multiple recipients to an email message.
I know the codeunit mail already has the OpenNewMessage function, but, from what I could tell, it only adds one email contact at a time. Is there another function, or a way to edit that function, so that I can add emails directly from a table?
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
First you need to explain what function you want to use to send emails. There are several ways to do that, for example via outlook (mail codeunit) or via SMTP (Smtp codeunit).
These are standard solutions in the base app.
On top of that you can develop your own interface, also with outlook, exchange, SMTP, or another mail app.
A very basic trick to send mails to multiple recipients is to poulate the email field with more addresses separated with a ';'
I am using the notepad application in order to store text, and now I need to be able to sent that text as the email body. Is there a way to do that?
I have been using "database mail" utility of SQL server with lot of success for a client. The problem with SMTP we felt was that it used to disable the system while sending email, meaning the user cannot do anything in NAV till the mails are sent. The sales order posting was trigerring mutiple invoice formats in multiple mails to various reciptent. Sending a mail thru SMTP took around 1-2 minutes. The trick we did was to call sql stored procedure to send the mail.
Can somebody critically comment on the approach. Any cons of the approach are welcome.
http://ssdynamics.co.in
But now I have to face another challenge...
Right now, I am able to choose a list of contact, write the email body content in a notepad and send that content automatically without even seeing anything (what I mean is, I don't have to use Outlook to send the emails). But, is it possible to receive a delivery report and a read receipt for the emails I'm sending via Navision? Can I receive those in Outlook?