NetTalk Central

Author Topic: Email from browse menu button  (Read 5573 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Email from browse menu button
« 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
« Last Edit: January 25, 2024, 10:09:22 PM by Niels Larsen »

Alberto

  • Hero Member
  • *****
  • Posts: 1869
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Email from browse menu button
« Reply #1 on: January 26, 2024, 04:52:48 AM »
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
-----------
Regards
Alberto

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Re: Email from browse menu button
« Reply #2 on: January 29, 2024, 08:21:44 PM »
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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11238
    • View Profile
Re: Email from browse menu button
« Reply #3 on: January 29, 2024, 10:41:30 PM »
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?

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Re: Email from browse menu button
« Reply #4 on: January 29, 2024, 11:00:32 PM »
Hi Bruce

It can be any clarion code.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11238
    • View Profile
Re: Email from browse menu button
« Reply #5 on: January 30, 2024, 05:45:17 AM »
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"
?

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Re: Email from browse menu button
« Reply #6 on: January 30, 2024, 10:30:57 AM »
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)

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11238
    • View Profile
Re: Email from browse menu button
« Reply #7 on: January 30, 2024, 10:00:43 PM »
noted. I'll look into both questions later in the week.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11238
    • View Profile
Re: Email from browse menu button
« Reply #8 on: February 08, 2024, 01:10:29 AM »
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.

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: Email from browse menu button
« Reply #9 on: February 08, 2024, 04:06:42 PM »
Quote
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.

:)
Cheers,

Stu Andrews

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Re: Email from browse menu button
« Reply #10 on: February 09, 2024, 02:41:19 AM »
Thanks Bruce

I look forward to working with that.  It offers so many possibilities.

JohanR

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • Email
Browse menu button
« Reply #11 on: July 15, 2024, 11:46:12 PM »
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










JohanR

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • Email
Re: Email from browse menu button
« Reply #12 on: July 16, 2024, 05:05:50 AM »
Hi,

Copied my question to a new post to start a new thread.
https://www.nettalkcentral.com/forum/index.php?topic=9497.0

Johan
« Last Edit: July 16, 2024, 08:49:42 PM by Bruce »