[Vtigercrm-developers] Mailconverter fails valid usernames [vt 6.2]

Manu urs manu.k at vtiger.com
Thu Jun 11 11:03:34 GMT 2015


Hi

We tested this issue in the  demo.vtiger.com  , with the username  "
vtiger.testing7 at gmail.com"  its works fine.
Can you please check your credentials.

Regards,
Manu Urs

On Thu, Jun 11, 2015 at 7:04 AM, Stacey Johnson <stacey.johnson110 at gmail.com
> wrote:

> Following mail converter... the conditions should be applied to every
> field not only to Subject and body, so it will be easier filtering records
> creation
>
>
> Stacey
>
>
> On Thu, Jun 11, 2015 at 8:08 AM, Hamono, Chris (DPC) <
> Chris.Hamono at sa.gov.au> wrote:
>
>> When setting up a mailconverter I kept getting errors “could not connect.
>> Special Characters not allowed”
>>
>>
>>
>> It appears vtiger incorrectly rejects any username that is not pure alpha
>> numeric.
>>
>>
>>
>> The file " modules\Settings\MailConverter\models\Record.php"
>>
>>
>>
>> Has this bit of code @ line 210
>>
>>            $userName = $this->get('username');
>>
>>            if($userName && !validateEmailId($userName) &&
>> !validateAlphanumericInput($userName)) {
>>
>>                 return false;
>>
>>            }
>>
>>
>>
>> This test fails if the username contains non numeric characters such as a
>> full stop (which is a common format for user names e.g.
>> “firstname.lastname”)
>>
>>
>>
>> Oddly it doesn’t fail if the username is not supplied or equates to false.
>>
>>
>>
>> Commenting out this code allows the mail box to be correctly configured.
>>
>>
>>
>> Chris
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
Regards,
Manu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150611/c91e57ec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail_converter.png
Type: image/png
Size: 200680 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150611/c91e57ec/attachment-0001.png>


More information about the vtigercrm-developers mailing list