Report Emails are not Being Sent
If Report Emails are not being sent:
• The SMTP_HOST value in the portal.properties file does not have a running mailer.
In the portal.properties file, you can also set the authentication mode:
#Email
mail.smtp.host=172.16.1.35
mail.smtp.user=reports@domain.com
mail.password=
mail.password.encrypted=psaBt0XMnJU=
mail.smtp.auth=false
mail.from=reports@domain.com
mail.fromName=Aptare Inc.
mail.debug=false
mail.smtp.starttls.enable=false
mail.emailAs=html
For authenticated email, set: mail.smtp.auth=true
As shown in the following table, several properties can be customized:
mail.smtp.host | Make sure this references a running mail server. |
mail.smtp.auth | Set to true to enable email authentication. |
mail.debug | Used for product developers to debug mail transmission issues. |
mail.smtp.starttls.enable | The SMTP Transport Layer Security extension—the encryption and authentication protocol. When a client and server that support TLS talk to each other, they can encrypt the data channel to guard against eavesdroppers. |
Additional Email Troubleshooting Recommendations
To determine what is causing the issue.
• Telnet to port 25 to test connectivity to the email server.
Typed text is in bold.
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 www.aptare.com ESMTP Sendmail 8.11.6/8.11.6; Wed, 26 Jan 2008 10:16:10 -0800
helo aptare
250 www.aptare.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
mail from: gthom@aptare.com
250 2.1.0 gthom@aptare.com... Sender ok
rcpt to: gthom@aptare.com
250 2.1.5 gthom@aptare.com... Recipient ok
data
354 Enter mail, end with "." on a line by itself
this is the email body
.
250 2.0.0 j0QIMUQ10566 Message accepted for delivery
$