Lotus Notes #Command([MailForward]) Command issue - lotus-notes

Someone please let me know what exactly #Command([MailForward]) command does?
In my organization, I take care of several existing notes based applications. Here, one of the users is getting error message when clicks on 'Email Quote' button in one of the applications. The button contains the formula '#Command([MailForward])'. As the user clicks on the button, he gets following error:
Here in the organization, all the users use 'Outlook/Exchange' for emails, and notes emailing is not enabled. Other users of the application are able to click the button and send quotation via mail. The issue is with this specific user only.
I think there is some configuration settings in location entry or person document (names.nsf) that I am missing. Please guide me.
Thanks
Romil Handoo

#Command([MailForward]) is a command that takes the current Notes document that you are looking at and attempts to create a new email with that document included in the body. This is similar to what you see when you forward an email in Outlook.
Since you aren't using Notes for your mail, this action will not work. The error message you are receiving is there because the current user doesn't have a Lotus Notes mail file configured.

Related

Add attachement to email

I have a request to create a Get support button in an application.
The button will have to open the Lotus Notes application(which is installed in a generic fixed location), to auto-complete the e-mail to, subject, body of the e-mail and also, the most important part, to add an attachement to the e-mail.
I managed to open the Lotus Notes with the fields completed with the command:
mailto:support_adress#domain.com?subject=First%20Email%20&body=this is the body
The problem is with the attachement. Due to security concerns, mailto doesn't support attachements.
So the question is, can I do it with an Lotus Notes Script( which can be executed from my application)?
If yes, can anyone guide me to some usefull informations or examples to start learning to create a script which would do it?
Yes, you can do it with LotusScript:
get user's mail database
create a new document in backend
add fields "SendTo" and "Subject"
create RichText field "Body" and attach file to it
open document in UI

Use LotusScript or Rules to stop some emails in Lotus Notes from causing a new email alert

I would like to setup Lotus Notes to move certain incoming emails to a particular folder and mark those emails as already read in such a way that I do not receive a new email alert from Lotus Notes. I am able to filter for the correct email (by subject line, etc) and have Lotus Notes move the incoming email to a folder and mark the message as already read but getting it to not give me a new email alert is the part I am having trouble with.
I do not want to disable email alerts for all incoming emails, just for some that meet certain criteria. I am open to solutions that use Lotus Notes Rules but I am thinking I will need to use LotusScript. I am using IBM Lotus Notes 8.5 on Windows 7 Professional 64-bit.
Any help is appreciated, thanks!
I have never done anything like that, but what I would try is to create a Lotusscript agent triggered to run "before mail is received". Then you can use the MarkRead method of the NotesDocument class.

Email sent from lotus notes which includes sent form not working in gmail

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.

mails forwarded by agents do not open in mail box in lotus notes

i have wrote an agent which works like this-
whenever my subordinates get any mail with an attachment; the agent runs and forwards that mail to our HR who can keep a track of all mails.
everything is working fine, but the issue occurs wen HR tries to open the mail..
he gets an notes error - "You are not authorized to access that database"
even though he has an 'Person' 'Manager' accesss in the ACL.
What could have possibly went wrong?
Right click on the doclink and select properties. Check to see what you are actually linking to. I have seen common mistakes like this where the user is creating a doclink to their own mail file.
Try Mail Journalling and find out what it can do for you. Set it up on the Domino server, and add a rule that journals the mails you want.

Lotus Notes doesn't send customised button

I created a customised button with some simple actions attached to it in Lotus Notes 6.5. It's just a simple voting button, which I emailed to a group of nearly 200 people. While sending I got a pop up telling me that the button can't be send. After about 10 seconds I got a first reply asking 'where's the button'. Then an avalanche of very clever emails followed, such as: 'no button', 'where's the button', etc.
Before I spammed everyon I had tried the email on my work mate and the button went through fine!
Any ideas? I suspect some security policy....
I really need to send this mail and get the survey results, so I don't want to fail again. Any suggestions appreciated.
Many Thanks,
Damo
Might be an issue if some recipients don't have Notes e-mail account.
If your gathering information then assuming you are going to store the data in a Lotus notes database create a form where they can input it directly and just send them a doc link to the database.
Buttons can be weird because if they contain code that is restricted by the ECL of the workstation then notes may automatically hide the button on the basis that it won't let the code run so hide it by default. You may be able to get round this by having the system admins send the button on your behalf.
This may be a daft question, but did you actually send the email to other Lotus Notes users via your Notes infrastructure? If not, the mail routers will have stripped the mail of any proprietary Notes stuff as it wings out to the internet.
You mention an error message, what was it exactly? AndrewB mentions that your organisation's ECL may be kicking in; alternatively, if you use 3rd party spam / trojan protection, that might have had something to do with it, I don't know.

Resources