Hi,
I am trying to send a simple e-mail from an NJX page.
My idea is to use a link ‘mailto:e.mail@test.be?subject=TEST’.
So far I have tryed to use the controls with a link defined at runtime (the address and subject are dynamic ).
TRIAL 1:
NJX:DOCUMENTLINK the purpose of this is open a document so this is not Ideal.
Result:
it opens my outlook mail form but I get alse a message
LINKDOCUMENT := "mailto:j.va@telenet.be?subject=TEST"
error: object doesn’t support this method or property on
URL : http://localhost:8080/cisnatural/HTMLBasedGUI/general/SUBPAGEControls.js
TRIAL 2:
A Subpage in combination with a button
I construct the url of the subpage in the event of the button and execute a process page update full.
SUBPAGEURL := "mailto:j.va@telenet.be?subject=TEST"
Result:
The Outlook mail form is showed but when I close it the page is not responsive and I got an eternal hourglass
TRIAL 3:
iHTML
I construct the html link in natural :
LINKMAILIHTML := "<a href=’mailto:j.va@telenet.be’>Email Me!</a>"
Result:
An error page is shown
[b]FileAccessRouterServlet[/b]
In development mode certain files (e.g. for directory HTMLBasedGUI) are stored in a central directory - and accessed through this servlet program.Consequence: certain files are not part of every development project instance but are kept centrally for all projects.
The URL you want to address is not available in the file system.
[b]Technical Info[/b]
Query = /leUI/%E2%80%99mailto:j.va@telenet.be%E2%80%99
Could not find matching file in = D:/Projects/DIeteren/Workplace/DIeteren/.naturalone/apache-tomcat/webapps/cisnatural/../../../../DIeteren/User-Interface-Components/
Can someone tell me how to proceed? Or tell me how this is usually done?
Thanks,
Jan