Mail multipla

31 Jul '12, 05:16 PM
No Forum Badges

Buongiorno a tutti, vorrei sapere come si possa fare (se è possibile) a mandare la stessa mail a più destinatari recuperando le mail degli utenti dal database. Perchè mettendo staticamente i destinatari nella mail unit separati da virgole riesco, tuttavia se devo prendere le mail dal database non riesco.

x 0
Answer Answer at this question and get points!
No Forum Badges


attraverso la Mail Unit è possibile inviare le email ad uno o più destinatari.

Gli indirizzi email dei destinatari devono essere specificati nella dialog di coupling del Link in ingresso alla Mail Unit, in particolare in corrispondenza dell'""Input Parameter"" di nome ""To"".

Nel caso in cui gli indirizzi siano recuperati a runtime dalla base di dati, si potrebbe utilizzare una Selector Unit, prima della Mail Unit, che si occupa di recuperare gli indirizzi email dei destinatari e di passarli in ingresso alla Mail Unit.

La Selector Unit è associata ad una entità (es. ""User"") e restituisce i valori degli attributi desiderati (es. ""email""). Eventualmente è possibile impostare delle condizioni sulla Selector Unit, per rifinire i risultati restituiti.

Per maggiori informazioni sulla Selector Unit puoi fare riferimento al seguente articolo, disponibile sul WebRatio wiki: Selector Unit


the Mail Unit allows you to send emails to one or more than you recipient.

The recipients email addresses can be specified in the Coupling Dialog of the Input Link to the Mail Unit, in particular they are associated with the ""To"" Input Parameter.

If the addresses are dinamically computed at runtime, you can use the Selector Unit, before the Mail Unit, which retrieves the email addresses from the database and sends them to the Mail Unit.

The Selector Unit is associated with an Entity (e.g. ""User"") and returns the values of the desired attributes (e.g. ""email""). You can also define some conditions on the Selector Unit, in order to refine the result set.

For more information about the Selector Unit, you can refer to the following article available on the WebRatio wiki: Selector Unit

x 1
No Forum Badges

grazie mille per la risposta, tuttavia avevo già provato a prelevare il campo mail da user tramite selector unit: il problema è che poi la mail me la mandava solo al primo indirizzo trovato;probabilmente commettevo qualche errore;ora ritento nel metodo proposto.

Grazie ancora dell'attenzione

x 0
Answer at this question and get points!

Related questions

Acceder a diferentes site views/ Acces to diferents site views Add to Bag link in ACME any webratio book ? Asking For a Book Attribute comparison in a selector unit Clarification about the NoOperation unit Codigo QR Como hacer un menu en webratio? Conditional Expression "greater than 0" on null fields Connect more query unit Content module page variable won't assign. coupled mandatory fields Create Unit with Date (Year only) Custom Attributes Condition Database Database List is not showing up in App Emulator Data is always created doubled Data Management: Updating Data - Attachments - Updating Data Sample Project Final Description: Unknown tag 'wr:LinkResource' Dudas sobre modelado(Data Flow,Forms y Operation Create) Empty record mistakenly saved en_US codify problem Export XML external link.= Filter information in a Simple List Format currency forward/backward navigation and bookmark in ajax web app "Generation Error" with Generate and Run Generation options problem get the attachment files of an email Get Unit problem Get Year from Date Help for connect public and private site views How can i create pagemenu or landmarkmenu with multiple levels. How does WebRatio represent these IFML elements? / ¿Cómo representa WebRatio estos elementos IFML? How i can reuse modules in multiple projects? How to define the sequence of execution units on a page? How to display the attributes of a related entity. How to filter imported attributes? How to include Selector Unit result in Mail Unit Body? How to pass vars to a alternative page How to process IFML Model (build with Eclipse editor) with ATL How to show a page based on a boolean? How to speed up the "last" link using PowerIndexUnit for lots of records How to store data related to an entity in relationships in a project web Insert data into database Insert master page to many hybrid modules Integrating a BPM model into an existent WebML model JSON I/O Unit e informazioni derivate KO Links in Selector Unit Landmark in hybrid module Link localization Links from Index unit with condition Link Visibility Condition Power Index Unit maintain the record order in a sortable list Math Unit to update attributes of an entity? [MOBILE] How I extract information from JSON client side? Modifica Entità tramite file xml Multi Entry Unit: How to forward only checked rows? multi-lingual product description Non riesco a fare funzionare Xml out unit Parametrizzazione Selector Unit Problem Example create Unit (no company in employee table) Problem in adding diagrams in IFML Editor (Eclipse) Problem with query unit! Problem with Scroller Unit query a database Question about Site Views Rename passing attributes Replace ID by its value in another table Search by Selector component does not work Select between parameters Selector unit doesn't return any value in hybrid module Sending mails is not working Sending mails with gmail is not working Setting the Default link for a Switch unit show/hide fields on button click (registration page) [solved] all links transparent, why ? Something leads to wrong condition expression evaluation. sumar atributos de una tabla filtrado por Role Condition Sum entity's values Transportation Link issue Unique Fields using relationship role conditional with null usuarios y grupos utilizzo componenti database Visibility Condition on Multiple Links From Index Unit WebRation - Create Navigation diagram