NI Home > Community > NI Discussion Forums
Reply
Member
BadAzzS10
Posts: 48
0 Kudos

Scratching my head with Lotus Notes Send Method

All,

 

I think I may have found a bug within Labview or Lotus Notes. If you are sending a Lotus Notes email, I've noticed that you must wire your recipients to the pRecipient parameter in the Send Method in the NotesDocument class. But, Lotus Notes Help Documentation states that if you use the SendTo item, it ignores the Recipients parameter, but I have found that this is not the case.

 

Am I missing something here? I've noticed in VBA (We use Office Products quite a bit and am familiar with the Visual Basic for Application language) that you and omit this parameter and it will send the email.

Member
Logan_H.
Posts: 90
0 Kudos

Re: Scratching my head with Lotus Notes Send Method

I came across your post and happened to notice one closely related here. Is this the code that you are using to interact with Lotus? The Lotus Notes invoke nodes use ActiveX controls set up by developers of Lotus so I'd say normally say to stick to their documentation but if you are seeing that it is wrong and you actually do need to add pRecipient parameter for it to work then leave it there.

 

Seems like a bit of a fumble on Notes Help to say an email doesn't need a recipient.

 

Logan H

National Instruments
Applications Engineer
Member
BadAzzS10
Posts: 48
0 Kudos

Re: Scratching my head with Lotus Notes Send Method

Logan,

 

I think you may have mis-understood me. It has been my experience that if you use the SendTo item, you shouldn't have to use the recipients parameter. Notes should automaticlly know to bypass this, at least based on the documentation.

 

  • Ignored if the document contains a SendTo item, in which case the document is mailed to recipients listed in SendTo.
  • Required if the document does not contain a SendTo item.
  •  

    I'm not sure if it's a Labview fumble or Lotus Notes.

Member
Logan_H.
Posts: 90
0 Kudos

Re: Scratching my head with Lotus Notes Send Method

My bad, so are you referring to the method of sending a file by using Right Click»Send To or are you using any LabVIEW code to send this email?

 

Logan H

National Instruments
Applications Engineer
Member
BadAzzS10
Posts: 48
0 Kudos

Re: Scratching my head with Lotus Notes Send Method

I apologize for not getting back with you. Work has had presedence this last couple of days.

 

All the code is written in Labview 2009. I want to make this code available for other VIs that may need it.

Knight of NI
Posts: 18,064
0 Kudos

Re: Scratching my head with Lotus Notes Send Method