Class: com.sybase.djc.mail.MailSession (Mail Session) EAServer 6.3 Help
Description Provides mail protocol and default message parameters for Java Mail sessions.
Configuration See Set Properties Task.
Properties mail.debug, mail.debug.quote, mail.from, mail.host, mail.pop3.apop, mail.pop3.host, mail.pop3.port, mail.pop3.rsetbeforequit, mail.pop3.user, mail.pop3s.host, mail.pop3s.port, mail.pop3s.rsetbeforequit, mail.pop3s.user, mail.smtp.auth, mail.smtp.dsn.notify, mail.smtp.dsn.ret, mail.smtp.ehlo, mail.smtp.from, mail.smtp.host, mail.smtp.mailextensions, mail.smtp.port, mail.smtp.quitwait, mail.smtp.reportsuccess, mail.smtp.sasl.realm, mail.smtp.sendpartial, mail.smtp.starttls.enable, mail.smtp.submitter, mail.smtp.user, mail.smtps.auth, mail.smtps.dsn.notify, mail.smtps.dsn.ret, mail.smtps.ehlo, mail.smtps.from, mail.smtps.host, mail.smtps.mailextensions, mail.smtps.port, mail.smtps.quitwait, mail.smtps.reportsuccess, mail.smtps.sasl.realm, mail.smtps.sendpartial, mail.smtps.starttls.enable, mail.smtps.submitter, mail.smtps.user, mail.store.protocol, mail.transport.protocol, mail.user
Files Repository/Instance/com/sybase/djc/mail/MailSession/*.properties

Property: mail.debug (Debug)
Description The initial debug mode.
Default Value false
Legal Values false, true

Property: mail.debug.quote (Mail Debug Quote)
Description Enables quote debugging of the transports streams.

Property: mail.from (From)
Description The return email address of the current user, used by the InternetAddress method getLocalAddress.

Property: mail.host (Host)
Description The default host name of the mail server for both Stores and Transports. Used if the mail.protocol.host property isn't set.

Property: mail.pop3.apop (APOP)
Description If set to true, use APOP instead of USER/PASS to login to the POP3 server, if the POP3 server supports APOP. APOP sends a digest of the password rather than the clear text password. Defaults to false.
Default Value false
Legal Values false, true

Property: mail.pop3.host (Host)
Description The host name of the mail server for the POP3 protocol. Overrides the mail.host property.

Property: mail.pop3.port (Port)
Description The port number of the mail server for the POP3 protocol. If not specified the protocol's default port number is used.
Default Value 110

Property: mail.pop3.rsetbeforequit (Reset before Quit)
Description Send a POP3 RSET command when closing the folder, before sending the QUIT command. Useful with POP3 servers that implicitly mark all messages that are read as "deleted"; this will prevent such messages from being deleted and expunged unless the client requests so. Default is false.
Default Value false
Legal Values false, true

Property: mail.pop3.user (User)
Description The user name to use when connecting to mail servers using the POP3 protocol. Overrides the mail.user property.

Property: mail.pop3s.host (Host)
Description The host name of the mail server for the POP3S protocol. Overrides the mail.host property.

Property: mail.pop3s.port (Port)
Description The port number of the mail server for the POP3S protocol. If not specified the protocol's default port number is used.
Default Value 110

Property: mail.pop3s.rsetbeforequit (Reset before Quit)
Description Send a POP3 RSET command when closing the folder, before sending the QUIT command. Useful with POP3 servers that implicitly mark all messages that are read as "deleted"; this will prevent such messages from being deleted and expunged unless the client requests so. Default is false.
Default Value false
Legal Values false, true

Property: mail.pop3s.user (User)
Description The user name to use when connecting to mail servers using the POP3S protocol. Overrides the mail.user property.

Property: mail.smtp.auth (Enable AUTH)
Description If true, attempt to authenticate the user using the AUTH command. Defaults to false.
Default Value false
Legal Values false, true

Property: mail.smtp.dsn.notify (Delivery Status Notification)
Description The NOTIFY option to the RCPT command. Either NEVER, or some combination of SUCCESS, FAILURE, and DELAY (separated by commas).

Property: mail.smtp.dsn.ret (Delivery Status Notification RET)
Description The RET option to the MAIL command. Either FULL or HDRS.

Property: mail.smtp.ehlo (Enable EHLO)
Description If false, do not attempt to sign on with the EHLO command. Defaults to true. Normally failure of the EHLO command will fallback to the HELO command; this property exists only for servers that don't fail EHLO properly or don't implement EHLO properly.
Default Value true
Legal Values false, true

Property: mail.smtp.from (From)
Description Email address to use for SMTP MAIL command. This sets the envelope return address. Defaults to msg.getFrom() or InternetAddress.getLocalAddress(). NOTE: mail.smtp.user was previously used for this.

Property: mail.smtp.host (Host)
Description The host name of he mail server for the SMTP protocol. Overrides the mail.host property.

Property: mail.smtp.mailextensions (Extensions)
Description Extension string to append to the MAIL command. The extension string can be used to specify standard SMTP service extensions as well as vendor-specific extensions. Typically the application should use the SMTPTransport method supportsExtension to verify that the server supports the desired service extension. See RFC 1869 and other RFCs that define specific extensions.

Property: mail.smtp.port (Port)
Description The port number of the mail server for the SMTP protocol. If not specified the protocol's default port number is used (25).
Default Value 25

Property: mail.smtp.quitwait (Quit Wait)
Description If set to true, causes the transport to wait for the response to the QUIT command. If set to false (the default), the QUIT command is sent and the connection is immediately closed. (NOTE: The default may change in the next release.)
Default Value false
Legal Values false, true

Property: mail.smtp.reportsuccess (Report Success)
Description If set to true, causes the transport to include an SMTPAddressSucceededException for each address that is successful. Note also that this will cause a SendFailedException to be thrown from the sendMessage method of SMTPTransport even if all addresses were correct and the message was sent successfully.
Default Value false
Legal Values false, true

Property: mail.smtp.sasl.realm (SASL Realm)
Description The realm to use with DIGEST-MD5 authentication.

Property: mail.smtp.sendpartial (Send Partial)
Description If set to true, and a message has some valid and some invalid addresses, send the message anyway, reporting the partial failure with a SendFailedException. If set to false (the default), the message is not sent to any of the recipients if there is an invalid recipient addresss
Default Value false
Legal Values false, true

Property: mail.smtp.starttls.enable (Enable STARTTLS)
Description Enables the start TLS for mail delivery.
Default Value false
Legal Values false, true

Property: mail.smtp.submitter (Submitter)
Description The submitter to use in the AUTH tag in the MAIL FROM command. Typically used by a mail relay to pass along information about the original submitter of the message. See also the setSubmitter method of SMTPMessage. Mail clients typically do not use this.

Property: mail.smtp.user (User)
Description The user name to use when connecting to mail servers using the SMTP protocol. Overrides the mail.user property.

Property: mail.smtps.auth (Enable AUTH)
Description If true, attempt to authenticate the user using the AUTH command. Defaults to false.
Default Value false
Legal Values false, true

Property: mail.smtps.dsn.notify (Delivery Status Notification)
Description The NOTIFY option to the RCPT command. Either NEVER, or some combination of SUCCESS, FAILURE, and DELAY (separated by commas).

Property: mail.smtps.dsn.ret (Delivery Status Notification RET)
Description The RET option to the MAIL command. Either FULL or HDRS.

Property: mail.smtps.ehlo (Enable EHLO)
Description If false, do not attempt to sign on with the EHLO command. Defaults to true. Normally failure of the EHLO command will fallback to the HELO command; this property exists only for servers that don't fail EHLO properly or don't implement EHLO properly.
Default Value true
Legal Values false, true

Property: mail.smtps.from (From)
Description Email address to use for SMTP MAIL command. This sets the envelope return address. Defaults to msg.getFrom() or InternetAddress.getLocalAddress(). NOTE: mail.smtp.user was previously used for this.

Property: mail.smtps.host (Host)
Description The host name of he mail server for the SMTPS protocol. Overrides the mail.host property.

Property: mail.smtps.mailextensions (Extensions)
Description Extension string to append to the MAIL command. The extension string can be used to specify standard SMTP service extensions as well as vendor-specific extensions. Typically the application should use the SMTPTransport method supportsExtension to verify that the server supports the desired service extension. See RFC 1869 and other RFCs that define specific extensions.

Property: mail.smtps.port (Port)
Description The port number of the mail server for the SMTPS protocol. If not specified the protocol's default port number is used.
Default Value 25

Property: mail.smtps.quitwait (Quit Wait)
Description If set to true, causes the transport to wait for the response to the QUIT command. If set to false (the default), the QUIT command is sent and the connection is immediately closed. (NOTE: The default may change in the next release.)
Default Value false
Legal Values false, true

Property: mail.smtps.reportsuccess (Report Success)
Description If set to true, causes the transport to include an SMTPAddressSucceededException for each address that is successful. Note also that this will cause a SendFailedException to be thrown from the sendMessage method of SMTPTransport even if all addresses were correct and the message was sent successfully.
Default Value false
Legal Values false, true

Property: mail.smtps.sasl.realm (SASL Realm)
Description The realm to use with DIGEST-MD5 authentication.

Property: mail.smtps.sendpartial (Send Partial)
Description If set to true, and a message has some valid and some invalid addresses, send the message anyway, reporting the partial failure with a SendFailedException. If set to false (the default), the message is not sent to any of the recipients if there is an invalid recipient address.
Default Value false
Legal Values false, true

Property: mail.smtps.starttls.enable (Enable STARTTLS)
Description Enables the start TLS for mail delivery.
Default Value false
Legal Values false, true

Property: mail.smtps.submitter (Submitter)
Description The submitter to use in the AUTH tag in the MAIL FROM command. Typically used by a mail relay to pass along information about the original submitter of the message. See also the setSubmitter method of SMTPMessage. Mail clients typically do not use this.

Property: mail.smtps.user (User)
Description The user name to use when connecting to mail servers using the SMTPS protocol. Overrides the mail.user property.

Property: mail.store.protocol (Store Protocol)
Description Specifies the default message access protocol. The Session method getStore() returns a Store object that implements this protocol.

Property: mail.transport.protocol (Transport Protocol)
Description Specifies the default message access protocol. The Session method getTransport() returns a Transport object that implements this protocol.

Property: mail.user (User)
Description The default user name to use when connecting to the mail server. Used if the mail.protocol.user property isn't set.