Configuring The JavaMail Client Service PDF
Configuring The JavaMail Client Service PDF
Document:
Configuring the JavaMail Client Service
URL:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/b0/51ad27728a497d8640ff3319e714c5/frameset.htm
Date created:
August 02, 2013
© 2013 SAP AG or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express
permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary
software components of other software vendors. National product specifications may vary. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for
informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only
warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or
registered trademarks of SAP AG in Germany and other countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information
and notices.
Note
This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure.
Subtopics from other structures are not included.
PUBLIC Page 1 of 5
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
Configuring the JavaMail Client Service
The JavaMail Client Service owns a set of properties that allow you to configure the behavior of the service.
Note
The JavaMail Client Service properties starting with mail. define settings for communication with the mail server and you can use them in any mail
application. If these properties are set, you do not need to specify this configuration further in the application code.
PUBLIC Page 2 of 5
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
JavaMail Client Service Properties
mail.from mymail@sap.com Specifies the sender of the mail message, that is,
the value of the mail from header.
mail.host localhost Specifies the default host name for sending and
receiving mail. This default value is used if the
mail.<protocol>.host property is not set.
mail.imap.starttls.enable false If set to true, the property enables the use of the
STARTTLS command (if supported by the server)
to switch the connection to a TLS-protected
connection, before issuing any login commands.
Note
An appropriate trust store must be configured
so that the client trusts the certificate of the
server.
PUBLIC Page 3 of 5
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
applies.
mail.imaps.starttls.enable false If set to true, the property enables the use of the
STARTTLS command (if supported by the server)
to switch the connection to a TLS-protected
connection, before issuing any login commands.
Note
An appropriate trust store must be configured
so that the client trusts the certificate of the
server.
PUBLIC Page 4 of 5
© 2013 SAP AG or an SAP affiliate company. All rights reserved.
mail.nntp.user Specifies the user name for connecting to the
Network News Transfer Protocol (NNTP) server.
PUBLIC Page 5 of 5
© 2013 SAP AG or an SAP affiliate company. All rights reserved.