Configuring the JavaMail Client Service.pdf

5
PRINT FROM SAP HELP PORTAL 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 com ponents of other software vendors. National product specifications m ay vary. These m aterials are provided by SAP AG and its affiliated com panies ("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 tradem arks of SAP AG in Germ any and other countries. Please see www.sap.com /corporate-en/legal/copyright/index.epx#tradem ark for additional tradem ark inform ation 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 © 2013 SAP AG or an SAP affiliate company. All rights reserved. Page 1 of 5

description

Configuring the JavaMail Client Service

Transcript of Configuring the JavaMail Client Service.pdf

Page 1: Configuring the JavaMail Client Service.pdf

PRINT FROM SAP HELP PORTALDocument: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 expresspermission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietarysoftware components of other software vendors. National product specifications may vary. These materials are provided by SAP AG and its affiliated companies ("SAP Group") forinformational 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 onlywarranties 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 hereinshould be construed as constituting an additional warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks orregistered trademarks of SAP AG in Germany and other countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark informationand notices.

NoteThis PDF document contains the selected topic and its subtopics (max. 150) in the selected structure.Subtopics from other structures are not included.

PUBLIC© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Page 1 of 5

Page 2: Configuring the JavaMail Client Service.pdf

Configuring the JavaMail Client Service The JavaMail Client Service owns a set of properties that allow you to configure the behavior of the service.

The JavaMail Client Service properties starting with mail. define settings for communication with the mail server and you can use them in any mailapplication. If these properties are set, you do not need to specify this configuration further in the application code.

You can change these properties using SAP NetWeaver Administrator.More information: Java System Properties

Note

PUBLIC© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Page 2 of 5

Page 3: Configuring the JavaMail Client Service.pdf

JavaMail Client Service Properties

Property Default Value Description

mail.from [email protected] Specifies the sender of the mail message, that is,the value of the mail from header.

sslCertificate default Specifies the SSL certificate to be used forauthentication if the connection is secure.The certificate must already be available in the KeyStore.

mail.debug false Specifies if the Session object bound to thenaming system has the debug option enabled.If you set this property to true, the JavaMail ClientService logs debug information.

mail.host localhost Specifies the default host name for sending andreceiving mail. This default value is used if themail.<protocol>.host property is not set.

mail.store.protocol pop3 Specifies the default store protocol.The method getStore() of the Session objectreturns a Store object which implements thisprotocol.

mail.transport.protocol smtp Specifies the default transport protocol.The method getTransport() of the Sessionobject returns a Transport object whichimplements this protocol.

mail.user Default user name for connecting to the mail server.Used if there are no user names set for the specificprotocols (mail.<protocol>.user).

mail.password Default password for connecting to the mail server.Used if there are no passwords set for the specificprotocols (mail.<protocol>.password).

mail.imap.user Specifies the user name to be used for connectingto the Internet Message Access Protocol (IMAP)server.

mail.imap.password Specifies the password to be used for connecting tothe Internet Message Access Protocol (IMAP)server.

mail.imap.host Specifies the host name of the Internet MessageAccess Protocol (IMAP) server.

mail.imap.port 143 Used if the connect() method does not specify aport explicitly.If this property is not set, the default IMAP portapplies.

mail.imap.proxyauth.user If the IMAP server supports the PROXYAUTHextension, this property specifies a user name tobe used with the PROXYAUTH command.

mail.imap.starttls.enable false If set to true, the property enables the use of theSTARTTLS command (if supported by the server)to switch the connection to a TLS-protectedconnection, before issuing any login commands.

An appropriate trust store must be configuredso that the client trusts the certificate of theserver.

mail.imaps.user Specifies the user name to be used for connectingto the secure Internet Message Access Protocol(IMAPS) server.

mail.imaps.password Specifies the password to be used for connecting tothe secure Internet Message Access Protocol(IMAPS) server.

mail.imaps.host Specifies the host name of the secure InternetMessage Access Protocol (IMAPS) server.

mail.imaps.port 993 Used if the connect() method does not specify aport explicitly.If this property is not set, the default IMAPS port

Note

PUBLIC© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Page 3 of 5

Page 4: Configuring the JavaMail Client Service.pdf

applies.

mail.imaps.proxyauth.user If the IMAPS server supports the PROXYAUTHextension, this property specifies a user name tobe used with the PROXYAUTH command.

mail.imaps.starttls.enable false If set to true, the property enables the use of theSTARTTLS command (if supported by the server)to switch the connection to a TLS-protectedconnection, before issuing any login commands.

An appropriate trust store must be configuredso that the client trusts the certificate of theserver.

mail.pop3.user Specifies the user name to be used for connectingto the Post Office Protocol version 3 (POP3)server.

mail.pop3.password Specifies the password to be used for connecting tothe Post Office Protocol version 3 (POP3) server.

mail.pop3.host Specifies the host name of the Post Office Protocolversion 3 (POP3) server.

mail.pop3.port 110 Used if the connect() method does not specify aport explicitly.If this property is not set, the default POP3 portapplies.

mail.pop3s.user Specifies the user name to be used for connectingto the secure the secure Post Office Protocolversion 3 (POP3S) server.

mail.pop3s.password Specifies the password to be used for connecting tothe secure the secure Post Office Protocol version3 (POP3S) server.

mail.pop3s.host Specifies the host name of the secure Post OfficeProtocol version 3 (POP3S) server.

mail.pop3s.port 995 Used if the connect() method does not specify aport explicitly.If this property is not set, the default POP3S portapplies.

mail.smtp.user Specifies the user name to be used for connectingto the Simple Mail Transfer Protocol (SMTP) server.

mail.smtp.password Specifies the password to be used for connecting tothe Simple Mail Transfer Protocol (SMTP) server.

mail.smtp.host Specifies the host name of the Simple MailTransfer Protocol (SMTP) server.

mail.smtp.port 25 Used if the connect() method does not specify aport explicitly. If this property is not set, the defaultSMTP port applies.

mail.smtp.auth false If set to true, use the AUTH command forauthentication.

mail.smtp.submitter Specifies the responsible submitter of the mailmessage.

mail.smtps.user Specifies the user name to be used for connectingto the secure Simple Mail Transfer Protocol(SMTPS) server.

mail.smtps.password Specifies the password to be used for connecting tothe secure Simple Mail Transfer Protocol (SMTPS)server.

mail.smtps.host Specifies the host name of the secure Simple MailTransfer Protocol (SMTPS) server.

mail.smtps.port 465 Used if the connect() method does not specify aport explicitly. If this property is not set, the defaultSMTPS port applies.

mail.smtps.auth false If set to true, use the AUTH command forauthentication.

mail.smtps.submitter Specifies the responsible submitter of the mailmessage.

Note

PUBLIC© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Page 4 of 5

Page 5: Configuring the JavaMail Client Service.pdf

mail.nntp.user Specifies the user name for connecting to theNetwork News Transfer Protocol (NNTP) server.

mail.nntp.password Specifies the password for connecting to theNetwork News Transfer Protocol (NNTP) server.

mail.nntp.host Specifies the host name of the Network NewsTransfer Protocol (NNTP) server.

mail.nntp.port 119 Used if the connect() method does not specify aport explicitly.If this property is not set, the default NNTP portapplies.

PUBLIC© 2013 SAP AG or an SAP affiliate company. All rights reserved.

Page 5 of 5