[ZendTo] Re: Local sender email address invalid - solved
Steve Mason
smlists at shaw.ca
Mon Jul 19 15:28:40 BST 2010
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\_\-\.]+)$/',$sen
derEmail,$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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100719/38a69718/attachment.html
More information about the ZendTo
mailing list