[ZendTo] Re: Local sender email address invalid - solved

Julian Field Jules at ecs.soton.ac.uk
Mon Jul 19 23:40:06 BST 2010


Easy fix to this one.
Go through your preferences.php file.
Every time you find
    a-z
Replace it with
    a-zA-Z
and then you will be fine.

I'll fix this in the next release, but that's all you should have to do.

-- 
Jules
Sent from my iPad over 3G :-)

On 19 Jul 2010, at 06:45 PM, Jules <Jules at zendto.com> wrote:

> Interesting! I'll put something in place to catch that one.
> 
> Well found! :)
> 
> Jules.
> 
> On 19/07/2010 15:28, Steve Mason wrote:
>> 
>> Found it! 
>> For some odd reason my email address in AD had the first 2 characters in upper case. Been here 7 years, never noticed that before :)
>> I changed it, and that solved the issue.  Odd that it displayed as lower case in the "information about the sender" box....
>>  
>> Thanks,
>>  
>> Steve
>>  
>> 
>> From: zendto-bounces at zendto.com [mailto:zendto-bounces at zendto.com] On Behalf Of Jules
>> Sent: Saturday, July 17, 2010 8:11 AM
>> To: ZendTo Users
>> Subject: [ZendTo] Re: Local sender email address invalid
>> 
>> What is the exact email address? And are you using SQLite or MySQL?
>> 
>> If it was reading nothing for the sender email address, you would get the ErrorSenderEmail string from zendto.conf. You only get the ErrorSenderBadEmail string if the email address fails to match the regular expression I mentioned below.
>> 
>> If you would rather send me the exact email address off-list, please do so.
>> Please copy and paste it from the "name,email address,organisation" page (preferably from the HTML source of the page) and double-check there are no leading or trailing spaces. A trailing space would cause this, among other things.
>> 
>> The code that does this is here (it's in NSSDropoff.php) :
>> 
>>     if ( ! $senderEmail ) {
>>       return $smarty->getConfigVariable('ErrorSenderEmail');
>>     }
>>     if ( ! preg_match('/^([a-z0-9][a-z0-9\.\_\-\+]*)\@([a-z0-9][a-z0-9\_\-\.]+)$/',$senderEmail,$emailParts) ) {
>>       return $smarty->getConfigVariable('ErrorSenderBadEmail');
>>     }
>> 
>> So as you see, that is how you get that error message.
>> 
>> Thanks,
>> Jules.
>> 
>> On 17/07/2010 14:05, Steve Mason wrote:
>>> 
>>> I'm using AD. The email address confirmation page is correct, and it is the same email address that is in AD.
>>> 
>>> From: zendto-bounces at zendto.com [mailto:zendto-bounces at zendto.com] On Behalf Of Jules
>>> Sent: Saturday, July 17, 2010 5:22 AM
>>> To: ZendTo Users
>>> Subject: [ZendTo] Re: Local sender email address invalid
>>> 
>>> What authenticator are you using?
>>> If AD, then does that user have an email address defined in their AD properties? If they don't have one at all, that will cause those symptoms.
>>> 
>>> This error happens if the sender email address does not match this:
>>> /^([a-z0-9][a-z0-9\.\_\-\+]*)\@([a-z0-9][a-z0-9\_\-\.]+)$/
>>> 
>>> When you select "Dropoff" from the main menu, it takes you to a page that confirms the sender name, email address and organisation. Exactly what showed up in the sender email address on that page?
>>> 
>>>  
>>> 
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zendto.com
>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>   
>> 
>> Jules
>> 
>> -- 
>> Julian Field MEng CITP CEng
>> www.ZendTo.com
>> 
>> Need help fixing or optimising your systems?
>> Contact me!
>> Need help getting you started solving new requirements from your boss?
>> Contact me!
>> 
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> Follow me at twitter.com/JulesFM
>>   
>> 
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zendto.com
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>   
> 
> Jules
> 
> -- 
> Julian Field MEng CITP CEng
> www.ZendTo.com
> 
> Need help fixing or optimising your systems?
> Contact me!
> Need help getting you started solving new requirements from your boss?
> Contact me!
> 
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> Follow me at twitter.com/JulesFM
> _______________________________________________
> ZendTo mailing list
> ZendTo at zendto.com
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100719/bfe031a4/attachment-0001.html 


More information about the ZendTo mailing list