Announcement

Collapse
No announcement yet.

Select records and sending email

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Select records and sending email

    Hello everyone it is time that I try to do it but I can not, I'd like a grid that lists the records have a selection tool of some records and a button to send an email to the records ...
    I helped ?????????

  • #2
    Create a grid with the needed selection. Create a button of type 'run'. Then in the onrecord event you can send your individual mails of the records that are selected. SC will automatically add a checkbox in front of each record and a select all checkbox in the header.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Excuse me, how do I create a grid with records from select?
      Forgive me if I do trivial questions but I have a license for a few months and the guides are all important in that I do not speak English well.
      Help me please.

      Comment


      • #4
        Create a grid application on the table with your data.
        Create a button and when the menu pops up, choose run type
        Then a php edit panel appears for the onrecord event
        This event will be called on each record so you put your sendmail here.
        The fields to send can be retrieved by using the {field} notation, they will reflect the selected record.
        To send the email you can use the sc_mail macro (see docs or code snippet you can generate using an arbitrary event. In fact, create an event, click on the snippetbutton to generate and cut this code, then paste it in the onrecord button event.

        Hope this helps
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment

        Working...
        X