I have tried assigning a string with spaces to a variable and to attach it to a mail session ie .....
declare destinatarios varchar2 0):='coguna@kengen.co.ke';
var1 varchar2(100):='testsubject';
var2 varchar2(100):='test';
BEGIN
WIN_API_SHELL.WINEXEC('C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE '|| '-c IPM.Note /m '||destinatarios||'?cc='||'trying'||'&subject='||var1||'&body='||var2, WIN_API.SW_SHOWNORMAL,TRUE);
Exception When others then message(sqlerrm); raise;
END;
This works !!!
However if I assign var1 with a space in between ......
var1 varchar2(100):='test subject';
...it compiles but does not show any text on the mail body at run time. Simply put , the space/s are not recognised and hence the whole text becomes blank!!!
Any help??
Kriss
declare destinatarios varchar2 0):='coguna@kengen.co.ke';
var1 varchar2(100):='testsubject';
var2 varchar2(100):='test';
BEGIN
WIN_API_SHELL.WINEXEC('C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE '|| '-c IPM.Note /m '||destinatarios||'?cc='||'trying'||'&subject='||var1||'&body='||var2, WIN_API.SW_SHOWNORMAL,TRUE);
Exception When others then message(sqlerrm); raise;
END;
This works !!!
However if I assign var1 with a space in between ......
var1 varchar2(100):='test subject';
...it compiles but does not show any text on the mail body at run time. Simply put , the space/s are not recognised and hence the whole text becomes blank!!!
Any help??
Kriss