Raffaele,
When you look up the session with jndi using
(Session)ic.lookup("java:comp/env/mail/Session"), try dumping out all the
properties that are set on that Session instance with
Session.getProperties(). Check what is set against the properties that you
are setting.
Jan
On 23 August 2017 at 18:46, Raffaele Gambelli <
[email protected]> wrote:
> Hi all,
>
> I'm running jetty 9 and configured jndi javamail session to send email.
>
> Below jetty there is postfix, with that I'm able to send email showing a
> friendly "from" name, e.g.: Raffaele <[email protected]>, while with
> Jetty I'm not able to do the same thing, I tried everything:
>
> <Put name="mail.from"> Raffaele <[email protected]> </Put>
>
> or
>
> <Put name="mail.from">" Raffaele" < [email protected] > </Put>
>
> or the combo:
>
> <Put name="mail.smtp.from"> [email protected]</Put>
> <Put name="mail.from">Raffaele</Put>
>
> Thanks in advance, any help will be appreciated, bye
>
> Raffaele Gambelli
>
> element
> Font
> font-family
> font-size
> font-style
> font-variant
> font-weight
> letter-spacing
> line-height
> text-decoration
> text-align
> text-indent
> text-transform
> white-space
> word-spacing
> color
> Background
> bg-attachment
> bg-color
> bg-image
> bg-position
> bg-repeat
> Box
> width
> height
> border-top
> border-right
> border-bottom
> border-left
> margin
> padding
> max-height
> min-height
> max-width
> min-width
> outline-color
> outline-style
> outline-width
> Positioning
> position
> top
> bottom
> right
> left
> float
> display
> clear
> z-index
> List
> list-style-image
> list-style-type
> list-style-position
> Table
> vertical-align
> border-collapse
> border-spacing
> caption-side
> empty-cells
> table-layout
> Effects
> text-shadow
> -webkit-box-shadow
> border-radius
> Other
> overflow
> cursor
> visibility
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
--
Jan Bartel <[email protected]>
www.webtide.com
*Expert assistance from the creators of Jetty and CometD*
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users