Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 62578 invoked from network); 1 Aug 2008 14:55:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2008 14:55:21 -0000 Received: (qmail 26826 invoked by uid 500); 1 Aug 2008 14:55:20 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 26811 invoked by uid 500); 1 Aug 2008 14:55:20 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 26800 invoked by uid 99); 1 Aug 2008 14:55:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 07:55:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 14:54:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5DECE234C18C for ; Fri, 1 Aug 2008 07:55:00 -0700 (PDT) Message-ID: <1431882866.1217602500379.JavaMail.jira@brutus> Date: Fri, 1 Aug 2008 07:55:00 -0700 (PDT) From: "Wojciech Durczynski (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-777) Allow '@' in usernames. In-Reply-To: <1981647175.1217581980272.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44686#action_44686 ] Wojciech Durczynski commented on CAMEL-777: ------------------------------------------- The problem probably exists because in class MailConfiguration there is a method: public void setUsername(String username) { this.username = username; if (!recipients.containsKey(Message.RecipientType.TO)) { // set default destination to username@host for backwards compatibility // can be overridden by URI parameters String address = username + "@" + host; recipients.put(Message.RecipientType.TO, address); } } If "To" isn't a parameter in url, broken address is added to recipients map. And my url doesn't have "To" parameter, because I always provide it as a header in a message. > Allow '@' in usernames. > ----------------------- > > Key: CAMEL-777 > URL: https://issues.apache.org/activemq/browse/CAMEL-777 > Project: Apache Camel > Issue Type: Bug > Components: camel-mail > Reporter: Wojciech Durczynski > > Many servers use 'username'@'servername' as a login name. Camel-mail doesn't allow this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.