You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2020/10/06 21:11:14 UTC

[Bug 64792] New: [Mail Task].[nested elements].[to].[name attribute] of first to element is setting for other(s).

https://bz.apache.org/bugzilla/show_bug.cgi?id=64792

            Bug ID: 64792
           Summary: [Mail Task].[nested elements].[to].[name attribute] of
                    first to element is setting for other(s).
           Product: Ant
           Version: 1.10.8
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: babakarya09@gmail.com
  Target Milestone: ---

When I set a name for multiple to element I got first elements name for other
element.
for example:
<mail mailhost="smtp.gmail.com" 
      user="sender@gmail.com" 
      password="pass" ssl="true" 
      mailport="465" 
      subject="Test Gmail"
      charset="utf-8">

        <from  name="Sender" address="sender@gmail.com"/>
        <to name="receiver 1" address="receiver-1@yahoo.com"/>
        <to name="receiver 2" address="receiver-2@outlook.com"/>
        <header name="header name" value="header value"/>
        <message>The nightly build has completed</message>

</mail>

I got (To: receiver 1) for receiver-2@outlook.com in mail name.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64792] [Mail Task].[nested elements].[to].[name attribute] of first to element is setting for other(s).

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64792

Jaikiran Pai <ja...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Jaikiran Pai <ja...@apache.org> ---
Hello  babakarya09,

Would it be possible to attach us the "raw" mail content that you received?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64792] [Mail Task].[nested elements].[to].[name attribute] of first to element is setting for other(s).

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64792

--- Comment #3 from Stefan Bodewig <bo...@apache.org> ---
I've just tried you setup with the Apache mailserver (using STARTTLS rather
than ssl directly) with two recipients and it worked. So I doubt this is a bug
within Ant o JavaMail and rather a problem with your GMail setup.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64792] [Mail Task].[nested elements].[to].[name attribute] of first to element is setting for other(s).

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64792

Jaikiran Pai <ja...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64792] [Mail Task].[nested elements].[to].[name attribute] of first to element is setting for other(s).

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64792

--- Comment #2 from Jaikiran Pai <ja...@apache.org> ---
If possible, please also attach the verbose logs from your ant build, which you
can do by passing ant the "-v" option when you launch it.

-- 
You are receiving this mail because:
You are the assignee for the bug.