Home » Developer & Programmer » Forms » email through forms (form 6)
email through forms [message #334612] Thu, 17 July 2008 06:37 Go to next message
vishal_kapadia
Messages: 4
Registered: July 2008
Location: Mumbai
Junior Member
hi buddy

how can i fetch lotus notes username and password in oracle forms

thanks in advance



Re: email through forms [message #334634 is a reply to message #334612] Thu, 17 July 2008 08:14 Go to previous messageGo to next message
Frank
Messages: 7880
Registered: March 2000
Senior Member
How are the two linked? Do you start Oracle Forms from Lotus Notes?
Re: email through forms [message #334771 is a reply to message #334634] Thu, 17 July 2008 23:08 Go to previous messageGo to next message
vishal_kapadia
Messages: 4
Registered: July 2008
Location: Mumbai
Junior Member
Following code will open lotus notes in Oracle Forms.


smobj := ole2.create_obj('NOTES.NOTESSESSION');
my_arglist := ole2.create_arglist;
ole2.add_arg(my_arglist , '');
ole2.add_arg(my_arglist , '');
dbmobj := ole2.invoke_obj(smobj, 'GETDATABASE', my_arglist ) ;
ole2.invoke(dbmobj, 'OPENMAIL');


Rgds
Vishal
Re: email through forms [message #334797 is a reply to message #334771] Fri, 18 July 2008 00:59 Go to previous messageGo to next message
Frank
Messages: 7880
Registered: March 2000
Senior Member
Next question, as I think my previous one was not clear.

You apparently want to start Lotus Notes from Forms. You also seem to have a username/password for this Lotus Notes.
Your question is how to fetch this username/password through Forms

My question is: How would you fetch the username/password if you would not use Forms?
Re: email through forms [message #334829 is a reply to message #334797] Fri, 18 July 2008 04:51 Go to previous messageGo to next message
vishal_kapadia
Messages: 4
Registered: July 2008
Location: Mumbai
Junior Member
No I want to use by forms only. Now I am able to fetch username thr below statement

v_user:=OLE2.Get_Char_Property(smobj,'EffectiveUserName');

Now my question is what is the string for password which derive the password for Lotus Notes.

Can you help me out

Rgds
Vishal
Re: email through forms [message #334835 is a reply to message #334829] Fri, 18 July 2008 05:22 Go to previous message
Frank
Messages: 7880
Registered: March 2000
Senior Member
Since you seem to be able to get this kind of info through OLE, this question would stand a better chance in a Lotus Notes forum.
These OLE-"calls" (i.e. the property-names and such) are specific to Lotus Notes; it has nothing to do with Oracle Forms.
Previous Topic: List Item with formula won't let user toggle possible values
Next Topic: call_form problem
Goto Forum:
  


Current Time: Sat Dec 10 11:04:48 CST 2016

Total time taken to generate the page: 0.22914 seconds