|
30. What are the mailing lists with .SQL extension?
This list is a mailing list which is formed by database SQL-request on
fly. File with SQL-request have to be added to mail box instead of mailing
list; it should have .SQL extension and the following format:
<ODBC Data Source>, <Username>, <Password>, <SQL Transaction>
If access to ODBC data source doesn't require the username and password,
leave these fields blank. For example:
Customers,Admin,KmiaN82,SELECT email FROM customers WHERE account>3000
FromSQL,,,SELECT name,'<'+email+'>' FROM customers WHERE email<>NULL
SQL-request can return a several columns, in this case the column values
will sequentially form the mailing list line. The space character is used
as separator for columns. The result of SQL-request is the list with the
same limitations as a simple text mailing list. This list can contain
only emails, but it can contain real recipients names to fill in "To:"
field as well.
Top.
|