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.