NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on January 25, 2024, 03:35:30 PM
-
Hi
What is the best way to send an email ( or some other Clarion code) via a browse dropdown menu
regards NielsB
-
Hi Niels,
If you do not need to enter any data to send it, call a NetWebSource proc using the menu item and inside the NetWebSource call the email send proc, normally a claron proc, the same you use in a desktop app.
Hope this helps
-
Hi Alberto
Thanks for the idea but it doesn't work.
If I call a NetWebSource as link or content it just gives a new URL with the procedure name. Could maybe fetch the parent site again, but I think that's a mess.
You cannot call a NetWebSoure a popup.
/Niels
-
I think you need to define what you mean by "send an email".
Is there any user interface here? or is it an automated background send?
-
Hi Bruce
It can be any clarion code.
-
so there's no user interface. The user doesn't write a message, or set the to address or anything?
This is just an automated menu item that's something like "send current figures to Steve"
?
-
Spot on.
It could also be to change the status of a row (could be nice with an refresh of the row or browse, but that runs in another thread)
-
noted. I'll look into both questions later in the week.
-
14.17 is up.
It contains an option "send to server" in the browse menu item options.
This triggers a browse event "menuitem" which you can handle in the TakeEvent routine.
-
It contains an option "send to server" in the browse menu item options.
This triggers a browse event "menuitem" which you can handle in the TakeEvent routine.
Bah.
Now I'm going to have to upgrade to 14.
Thanks a lot Bruce.
:)
-
Thanks Bruce
I look forward to working with that. It offers so many possibilities.
-
14.17 is up.
It contains an option "send to server" in the browse menu item options.
This triggers a browse event "menuitem" which you can handle in the TakeEvent routine.
Hi,
I am trying to implement the popup menu on a browse and am unsure of how to handle the event.
I have it working up to the point of where I have a case structure in TakeEvent routine which fires the correct code for each item.
However am unsure of what code to embed here besides my code?
Some of the items will be updated file fields and then writing the values to disk.
What housekeeping routines must I call to keep everything happy and updated?
thanks
Johan
-
Hi,
Copied my question to a new post to start a new thread.
https://www.nettalkcentral.com/forum/index.php?topic=9497.0
Johan