15
edits
(→Setup) |
(Add: meaning of variables __OTHER1__ to __OTHER5__ for each recipients list (tested on 24.0.1)) |
||
| Line 53: | Line 53: | ||
- The global status for e-mailing and send result for each recipient will be updated and visible. | - The global status for e-mailing and send result for each recipient will be updated and visible. | ||
==Personalising the email: __OTHER1__ to __OTHER5__== | |||
Besides __EMAIL__, __LASTNAME__ and __FIRSTNAME__, you can use __OTHER1__ to __OTHER5__ in the topic and the body of the emailing. | |||
Their content comes from the column "Other information" of tab "Recipients" (format ''Key1=value1;Key2=value2;...''): __OTHER1__ is the 1st value, __OTHER2__ the 2nd, and so on. The key before "=" is not used. | |||
{| class="wikitable" | |||
! Recipients list !! __OTHER1__ !! __OTHER2__ !! __OTHER3__ !! __OTHER4__ | |||
|- | |||
| Contacts of thirdparties || Third party name || Civility (label, e.g. "Mr.") || Job position || | |||
|- | |||
| Foundation members || Login || Civility (label, e.g. "Mr.") || End date of membership || Company | |||
|- | |||
| Users with Emails || Login || Civility (code, e.g. "MR") || Professional phone || | |||
|} | |||
Example: ''Dear __OTHER2__ __LASTNAME__,'' gives ''Dear Mr. Legrand,'' for a contact. | |||
'''Emails from file''': each line is ''email;name;firstname;other'', and everything after the 3rd ";" is kept. The line ''john@example.com;Doe;John;Mr.;VIP'' gives __OTHER1__ = Mr. and __OTHER2__ = VIP. | |||
'''Emails input by user''': same format, but only the 4th field is kept (__OTHER1__ only). | |||
For the other lists (Third parties, etc.), the content depends on the list and on the filters chosen: check the column "Other information" before using these variables. | |||
The values are saved when the recipients are added, in the language of the user who adds them. If you change a contact afterwards, remove the recipient and add it again. | |||
Checked in Dolibarr v14 to v24. | |||
edits