Forums / Developer / Trouble with email-addresses containing dash-character?

Trouble with email-addresses containing dash-character?

Author Message

Nicklas Lundgren

Tuesday 11 May 2004 6:46:31 am

Hi folks,
I dont know if this is insain, but I seem to have problems sending order-confirmations to the Admin-email address set in the site.ini override in :
[MailSettings]
AdminEmail=

Im running version 3.3-3 (3.3), SVN revision 4927.

The problem only occur when the AdminEmail address contains a dash (-) like in mymail@my-url.com.

Could it be possible that eZ doesnt allow dashes in email adresses? I know it sounds crazy but I have to make sure...

Regards,
Nicklas

Jan Borsodi

Wednesday 12 May 2004 6:20:44 am

eZ publish allows dashes in the mail address, however it can be that some e-mail gateways does not support it.
What if you try to send it using the 'mail' command?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Nicklas Lundgren

Thursday 13 May 2004 4:14:18 am

Thanks for the reply, Jan!

Alright, it might just be the gateway, its not totally impossible.

However, would you please elaborate a little on the part about trying with the mail-command? Do you mean that I should change the SMTP-settings for eZ in some way? Or just to try to send a mail via an ordinary php-page using php:s mail command?

Regards,
Nicklas

Jan Borsodi

Friday 14 May 2004 4:30:49 am

Try running this Unix/linux command (replace the <i>mymail@my-url.com</i> email with a valid one).

echo "A message" | mail -s "A subject" mymail@my-url.com

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq