<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — First name and last name in emails]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5254&amp;type=atom" />
	<updated>2014-10-24T13:36:52Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5254</id>
		<entry>
			<title type="html"><![CDATA[Re: First name and last name in emails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21222#p21222" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Make the title be part of the first name in this instance!</p></blockquote></div><p>That would allow you to greet them with &quot;Dear Mr. Joe&quot; or &quot;Dear Mr. Joe Smith&quot;, but not with the far more appropriate &quot;Dear Mr. Smith&quot;.</p><p>And prepending the title to the surname would yield &quot;Dear Joe Mr. Smith&quot;, which is even worse.</p><p>For now the best way is the &quot;Dear&quot; + name1 + name2, suggested in the first post, but the proper way would be adding a &quot;title&quot; field to the contact. That&#039;s a change that should not break anything.</p><p>I don&#039;t know how the templates are handled, but ideally they should be translated/adapted according to local customs. And while we&#039;re at it, the contacts should probably have a language field as well, so that documents can be issued in that particular language. That would be a nice touch in bilingual countries. Or for anyone doing business in more than one language, for that matter.</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2014-10-24T13:36:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21222#p21222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: First name and last name in emails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21211#p21211" />
			<content type="html"><![CDATA[<p>Make the title be part of the first name in this instance!</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-10-23T18:10:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21211#p21211</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: First name and last name in emails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21210#p21210" />
			<content type="html"><![CDATA[<p>It would be nice to have the option of using a title (Dear Mr. Jones).</p><p>The default was &quot;Dear Jones&quot;, which is kind of abrupt for Western use.</p>]]></content>
			<author>
				<name><![CDATA[ckrosco]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1158</uri>
			</author>
			<updated>2014-10-23T17:07:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21210#p21210</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: First name and last name in emails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21202#p21202" />
			<content type="html"><![CDATA[<p>Better still, replace lines 1003 to 1006:<br /></p><div class="codebox"><pre><code>$to = str_replace(&quot;,&quot;, &quot;&quot;, $contact[&#039;name&#039;].&#039; &#039;.$contact[&#039;name2&#039;])
    .&quot; &lt;&quot; . $contact[&#039;email&#039;] . &quot;&gt;&quot;;
$msg = _(&quot;Dear&quot;) . &quot; &quot; . $contact[&#039;name2&#039;] . &quot;,\n\n&quot; 
    . _(&quot;Attached you will find &quot;) . &quot; &quot; . $subject .&quot;\n\n&quot;;</code></pre></div><p>with<br /></p><div class="codebox"><pre><code>$to = str_replace(&quot;,&quot;, &quot;&quot;, $contact[&#039;name&#039;].&#039; &#039;.$contact[&#039;name2&#039;]);
$msg = _(&quot;Dear&quot;) . &quot; &quot; . $to . &quot;,\n\n&quot; 
    . _(&quot;Attached you will find &quot;) . &quot; &quot; . $subject .&quot;\n\n&quot;;
$to .= &quot; &lt;&quot; . $contact[&#039;email&#039;] . &quot;&gt;&quot;;</code></pre></div><p>In some places it may be rude to address one by first name or by full name unless you are sufficiently acquainted with them. Hence such a change may be done with a flag in the config file or in the per company based sys_prefs table.</p><p>Alternatively, it may be included in the core as is since this will avoid ambiguity with many persons having the same last name!</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-10-23T02:31:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21202#p21202</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: First name and last name in emails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21179#p21179" />
			<content type="html"><![CDATA[<p>its&nbsp; great ot see such a great work.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2014-10-18T12:01:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21179#p21179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[First name and last name in emails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21175#p21175" />
			<content type="html"><![CDATA[<p>I would like to suggest that the email sent to customers should address them by first name and last name, rather than just the last name.</p><p>reporting/includes/pdf.report.inc</p><p>line 1005</p><p>change </p><div class="codebox"><pre><code>$msg = _(&quot;Dear&quot;) . &quot; &quot; . $contact[&#039;name2&#039;] . &quot;,\n\n&quot; </code></pre></div><p>to </p><div class="codebox"><pre><code>$msg = _(&quot;Dear&quot;) . &quot; &quot; . $contact[&#039;name&#039;] .&#039; &#039;. $contact[&#039;name2&#039;] . &quot;,\n\n&quot; </code></pre></div>]]></content>
			<author>
				<name><![CDATA[ckrosco]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1158</uri>
			</author>
			<updated>2014-10-17T20:50:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21175#p21175</id>
		</entry>
</feed>
