<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Generate email from CSV ]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Generate email from CSV  of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Sun, 15 Oct 2023 19:58:43 +0300</lastBuildDateTag>		<item>
			<title>Generate email from CSV </title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic16168/message55715/">Generate email from CSV </a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_EKvh7sjc" href="/en/forums/" bx-tooltip-user-id="48209">Adam Marek</a> wrote:<br />[...] Is there any way to make the content of such a bat message retrieve fr om a csv file?<br /><br /><br />=============<br />This problem can be solved, even there is no possibility to simply send mail using CSV file. Here is my proposal:<br /><br />1. Make new group of addresses in Address Book.<br /><br />2. Import recipients' data fr om CSV file into the group of addresses (using old AB interface will be more clear). During the import you should sel ect which item should be imported and where it should be placed. For example, import <B>login</B> to <B>Nickname</B> item in AB, and <B>password</B> to <B>Prefix</B>. Then you will obtain all recipients saved as a group in Address Book. It is important to add one header line to CSV file with the content:
====code====
<pre>Name, Nickname, Prefix, Email</pre>
=============
This will make it easier to import data into the address book.<br /><br />3. Make quick template with placeholders for AB fields you will use in mass mail sending. Remember to mark this template as &quot;Use for New messages / Mass mailing&quot;. Here is the example of such template with macros which will get data from address book:<br />
====code====
<pre>Good morning %AbToName

This is your data
Login: %AbToHandle
Password: %AbToNamePrefix

Yours sincerely
Adam</pre>
=============
4. Go to the address book, sel ect the adress group created fr om CSV file, and fr om menu <B>File &gt; New &gt; Mass Mailing using template...</B> select your mail template. The Bat! will create mails according to your wish.<br /><br />One remark: As you do not have full name separated into parts in CSV file, the full name will be used in mails, e.g. &quot;Good morning Amy Smith&quot;. It may be easily corrected by modification of CSV file (separating first and last name in each line) and the quick template (%AbToFName instead of %AbToName).<br /> &nbsp; <br />
			<i>15 October 2023 19:58:43, <a href="http://www.ritlabs.com/en/forums/">Zygmunt Wereszczyński</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic16168/message55715/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic16168/message55715/</guid>
			<pubDate>Sun, 15 Oct 2023 19:58:43 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Generate email from CSV </title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic16168/message55703/">Generate email from CSV </a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Unless something changed from last year (and it doesn&#39;t seem so), the answer is no, but at least it might be partially doable using quick templates. See here: <noindex><a href="https://www.ritlabs.com/en/forums/forum6/topic15622/" target="_blank" rel="nofollow">https://www.ritlabs.com/en/forums/forum6/topic15622/</a></noindex> <br />
			<i>13 October 2023 19:23:50, <a href="http://www.ritlabs.com/en/forums/">Miloš Radovanović</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic16168/message55703/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic16168/message55703/</guid>
			<pubDate>Fri, 13 Oct 2023 19:23:50 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Generate email from CSV </title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic16168/message55702/">Generate email from CSV </a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hi,<br /><br />forgive the stupid question but I have not found the answer so I let you benefit from the knowledge of more experienced users. Is there any way to make the content of such a bat message retrieve from a csv file?<br /><br />E.g. mail<br /><br />Good morning $name<br /><br />This is your data <br />Login: $login <br />Password: $pass<br /><br />Yours sincerely <br />Adam <br /><br />======<br /><br />And now the csv file <br /><br />Adam Black, adam, tPZB3W@n, <noindex><a href="mailto:adam@gmail.com" target="_blank" rel="nofollow">adam@gmail.com</a></noindex><br />John Doe, john, dsfewEA#$, <noindex><a href="mailto:john@gmail.com" target="_blank" rel="nofollow">john@gmail.com</a></noindex><br />Amy Smith, amy, a21rfsq!$, <noindex><a href="mailto:amy@gmail.com" target="_blank" rel="nofollow">amy@gmail.com</a></noindex><br /><br />Each of the 3 people will receive an email with their information at their address <br /><br />And e.g. Amy will get an email to <noindex><a href="mailto:amy@gmail.com" target="_blank" rel="nofollow">amy@gmail.com</a></noindex>:<br /><br />Good morning Amy<br /><br />This is your data <br />Login: amy <br />Password: a21rfsq!$<br /><br />Yours sincerely <br />Adam <br /><br />How to do it? <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":)" data-definition="SD" alt=":)" style="width:16px;height:16px;" title="" class="bx-smile" /><br />Sincerely <br />Adam &nbsp; <br />
			<i>13 October 2023 18:53:49, <a href="http://www.ritlabs.com/en/forums/">Adam Marek</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic16168/message55702/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic16168/message55702/</guid>
			<pubDate>Fri, 13 Oct 2023 18:53:49 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
