We use Lotusnotes 6.5 as email client. We wil have around 1600+ mails for 9 hrs. If a mail not checked , we have face serious issues with our client. Can any script can be written to check whether all mails are checked and replied?
Update:
We have already tried moving the mails to another folder.But has this mailbox handled by team of persons, we noticed lot of human error happening like moving a unread mail, sometimes they would have read mail but forget to reply it etc.etc.
So I was looking out for a script solution, will your other options. Also one more thing we do is we cc our mailbox mail id for all outgoing emails to have a track of all replied mails, will this could help in any way to find out which mails was missed?
If you need to track unread marks, I second the aforementioned nsftools solution, which works in Domino 7.x too. However, this is very much Notes ID-dependent. A folder would be better.
Note that 6.5x is well out of support, and that Domino 7.x officially died this week: use something at least vaguely modern!
There's an easier non-programmatic way. Just move the email from the inbox into another folder once the email has been responded to. That is more reliable than any programmatic solution, and keeps your inbox tidy (which will certainly be necessary if you get nearly 200 emails per hour!)
That said, here are some other ideas.
Determining if the document was read
Unread marks are not your friend here, unless you'll be accessing the mail file from the same client. Also they tend to get out of sync and would likely prove unreliable at some point, especially given the number of incoming emails. Instead you'll need to have some information that is saved within the individual mail document, such as the last accessed property or a custom item you manage via scripts/formulas.
You can see if an email has been read by checking the Last Accessed property of the mail document. According to IBM's technote (https://www-304.ibm.com/support/docview.wss?uid=swg21086670), the property will be updated when the document is read.
You could write a script in the QueryOpen event that stamps a value on the document and saves it.
Determining if the email was responded to
First off, I'd suggest you save all sent emails in case you need a record of what was sent to the client. That won't give you a way to see which emails have not been responded to, however.
Instead you could add script to the reply action within the memo form. When someone click's reply it could update the current memo, stamping an item on it to say who replied and at what time, for instance. Then you can create a view to show any emails that don't have that item, and another view to show emails that do grouped by who responded. The second view could even show how many emails each person responded to, something that might be used as a measurement of performance perhaps.
"Unread mark" checking is not exposed in the API.
I did find 2 links, this one is a basic implementation, where as this link does have more robust code and is implemented as an object in LotusScript. It should be compatible with Notes 6.5+.
I found the second link through nsftools website which has lots of great snippets that solve various problems. You should at least be able to detect if a mail has been read or not. Note that it requires making API level calls. You should be able to create a new script library and copy/paste the code into it.
Related
I have two requirements in Datacap 9.0.1
I want to find how many emails that were sent to the done folder and
how many were sent to problem folder. This way, I can alert the
users that say, out of 10 emails in the inbox, 7 of them processed
successfully and 3 moved to the problematic folder. I know
EmailCount variable gives me the count of emails that datacap was
able to read successfully/moved them to the done folder but what I
want is the initial count of emails so that I can find a difference.
Is it possible within datacap to scan a folder other than Inbox? For
Ex, if I want to scan 'Sent Items' folder how would I do that? I
looked into the email connection actions, but I don't see anything
which can help me to connect to the folder that I want.
Ok, this is the answer that I got from another datacap forum. Posting it here so that it helps others
Not sure about number 1. I believe that would require modifications to the mail actions.
For #2, no, there is no way to specify something other than inbox.
Both of these would likely require some sort of enhancement.
Here the enhancement means creating datacap custom actions. I haven't tried creating one and in case if I happen to create, will post the details of it.
I got a Netsuite CRM system from a client where already there are 100+ workflows and scripts implemented and running.
One of the consumer of client is getting system generated emails from netsuite on Daily basis which they want to stop. Say the mail id is abc#xyz.com
Client asked me the same, now my question is how to find which workflow or script is generating the mails or is there any simpler way to block the mails sent to that id?
Thanks in advance.
Regards
Rahul
Thanks for the reply.
The best option I found was sending that mail id to Netsuite support and asking them which workflow/script is really sending the mails to which they replied.
Once that was done then I found it to be a workflow which had a saved search that was giving the data.
I went to the record from the saved search and I was able to stop the mails.
Any ways thanks for your time.
Glad
In your case, you have to do some dig through with your email and its content.
Check the content of the email and check for the email reason. Ex. Order Completed, Payment Pending
From this you can identify from which record mail is being sent.
Check the Messages sub tab under General tab of the Customer record for the author of the email.
Download all Scheduled Scripts with deploy status as Released and open all the script files and use Find all method with the authoremailid and authorinternalid
Thanks
Frederick
Best way I found:
Get the mail id.
Search it in global search
It will give corresponding record.
Open the record and in bottom go to system information.
Check the Active workfow and check that work flows you will find your answer.
Thanks
Gladiator
While sending email from lotus notes to Gmail using Lotus Script, buttons are not visible in Gmail.
As Anders says, Any standard or custom Action Buttons (at the top) will not be available in Gmail. You would need to code your own Gmail interface to reproduce.
If you are talking about buttons in the actual rich text of the mail, these will definitely not get translated when the mail leaves and you should get a message saying...
"The following items cannot be sent or saved in MIME (internet mail) format."
That would be a clear sign that you are going to need to take another look at your assumptions.
If you are planning a migration, you do need to check your assumptions (and your vendor's promises) carefully, there is a lot of infrastructure and functionality that is taken for granted in the Notes/Domino stack and just not available, or significantly different, in others.
Stored forms are a feature that is unqiue to Notes. They contain Notes design elements, formulas and scripts that execute Notes functions that are provided by the Notes API DLLs that are only available in the Notes client. GMail doesn't know anything about them. Outlook doesn't know anything about them.
But if you want to send them to someone who has a GMail address but who also has the Notes client, then there is a way to do it manually using the "Send this email to other Notes mail user(s) through the Internet" feature, which appears in the Advance tab of the Delivery Options dialog that you can bring up when sending a message. There is no simple API for automating the mechanism that is used, but it can be done. It requires creating a new empty database file with a special name (encap.ond), saving your document into that database, and then attaching the the file to a new message, which will be the one that you actually send. I don't recall if any special headers are required for this, so if you want to pursue it you will have to do some investigation by using the manual process and checking out the full headers of the message on the receiving side.
I am having a serious brain cramp right now since I don't think I have done this in 10 years...maybe I never did but I THINK I did lol.
I have a new mail-in database. When mail comes in, either from Lotus Notes, from an outside mail system, like gmail, or from a text message from a cell phone, I want to refresh that document so that a couple fields get set based on the SMPTOriginator that the mail is from. I thought I would do it with an agent that runs before mail arrives, but that didn't work. I tried after mail arrives and that also didn't work. I need it to runn almost immediately after the document arrives because they are getting emergency responders to reply ASAP and I need these documents to refresh as they come in.
Can someone point me in the right direction...this is something that I know I have done in the past, I just can't remember.
Maybe you just don't have the necessary rights to run the agent. In any case, when the agent is correctly placed and the mail db receives a mail, the agent is started by the server (either the Agent Manager or the Router), and if the agent isn't started there is a message in the log.nsf database. Check there.
I would think the events you tried would have worked, but perhaps they are only for mail databases, and not mail-in databases.
Anyway, you could use the "After documents are created or modified" trigger, although that won't run immediately. It runs about every 5 minutes, I believe.
You might also create a scheduled agent. If the process isn't very long, you might be able to get away with it running every, say, 2 minutes.
I've had this idea for a year or so and I find it hard to believe that I am the only one to have ever of thought of this. This feature is not available in any web-based or email client that I know of. I would love to see this for Gmail. I posted a topic on the Gmail help forums but never received any meaningful replies.
A lot of people forward on emails to groups of other people, usually of the fun or joke variety. I don't want to be that guy that forwards on the email to my "fun" group of addresses only to send it right back to the person that just sent it to me or to someone that may have already received it previously in the thread of messages. I find myself hitting the "forward" button, adding a group to the recipients list, then having to go through the list and remove people that received the email just like me.
So, why not have a "Forward without Duplicates" button that parses through the message body and remove any address found from the recipients list. This way, anyone that has already been included in the email thread does not receive the message again. I don't forward on emails anymore b/c of the annoyance of having to add a group of addresses and then slowly and painfully go through and remove each one that does not need to be on it.
I have tried using firebug to isolate what needs to be parsed through, but it is tough. Does anyone have any direction they could point me in? The Better Gmail extension for Firefox includes some scripts that have been written, but I have no idea where to even start to be honest. Is there a way to look through these scripts to use as learning examples?