<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — mails only taking a single character for the recipient]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3904&amp;type=atom" />
	<updated>2013-02-27T08:54:14Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3904</id>
		<entry>
			<title type="html"><![CDATA[Re: mails only taking a single character for the recipient]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15822#p15822" />
			<content type="html"><![CDATA[<p>Hi Janusz,</p><div class="quotebox"><cite>itronics wrote:</cite><blockquote><p>Unfortunatelly there was a bug introduced recently in php mailing code. This is fixed now, and will be available with next release. You can also fix it yourself as explained <a href="https://frontaccounting.com/punbb/viewtopic.php?id=3860"> in this thread</a>.<br />Janusz</p></blockquote></div><p>No problems - at least it has been fixed and the fix is easy to apply! I couldn&#039;t find that issue by searching - my search terms must have been a little off - apologies.</p><p>Thanks - and keep up the good work on a great product (just started to use FA).</p><p>Andy</p>]]></content>
			<author>
				<name><![CDATA[arad85]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17466</uri>
			</author>
			<updated>2013-02-27T08:54:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15822#p15822</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: mails only taking a single character for the recipient]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15821#p15821" />
			<content type="html"><![CDATA[<p>Unfortunatelly there was a bug introduced recently in php mailing code. This is fixed now, and will be available with next release. You can also fix it yourself as explained <a href="https://frontaccounting.com/punbb/viewtopic.php?id=3860"> in this thread</a>.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-02-27T08:24:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15821#p15821</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[mails only taking a single character for the recipient]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15819#p15819" />
			<content type="html"><![CDATA[<p>A new install of FA 2.3.15 (created tonight). A working implementation of ssmtp so I can send both via the command line AND via the php mail() function (see below). </p><p>When I try and send an invoice by mail, the system responds with:</p><div class="codebox"><pre><code>PURCHASE ORDER 1. Sending document by email failed. Email: s</code></pre></div><p>Where the email is always the first letter of the company contact mail (i.e. the email is s if the mail address is ssss@example.com, and y if the email is ysss@example.com). Looking at the debug log from ssmtp, it is refusing the mail as it can&#039;t find a mailbox s@mydomain.com.</p><p>If I remove the mail contact, it says:</p><div class="codebox"><pre><code>You have no email contact defined for this type of document for &#039;Supplier&#039;.</code></pre></div><p>If I have this as a .php file:</p><div class="codebox"><pre><code>&lt;?php
$to = &quot;me@mydomain.com&quot;;
$subject = &quot;Test mail&quot;;
$message = &quot;Hello! This is a simple email message.&quot;;
$from = &quot;someonelse@example.com&quot;;
$headers = &quot;From:&quot; . $from;
mail($to,$subject,$message,$headers);
echo &quot;Mail Sent.&quot;;
?&gt;</code></pre></div><p>I get a mail from someonelse@example.com with headers/text as you&#039;d expect - so the mail() function is working fine.</p><p>It looks like the mail is only taking the first letter of the name. Anyone any ideas?</p>]]></content>
			<author>
				<name><![CDATA[arad85]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17466</uri>
			</author>
			<updated>2013-02-27T01:31:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15819#p15819</id>
		</entry>
</feed>
