I provided all details in Email Task
ClassName:- com.interwoven.ui.teamsite.workflow.task.urltask.AuthorMailNotificationTask
mail_template:- /iwadmin/main/config/STAGING/workflow/email/authorNotification.xsl
target_task_name:- next task name
I have updated the iw.cfg with the below details:-
[iwsend_mail]
maildomain=intervalintl.com
mailserver=DC1WEXCP03.II-CORPNET.COM
use_mapping_file=true
email_mapping_file=/opt/Autonomy/TeamSite/local/config/wft/email_map.cfg
debug_output=/opt/Autonomy/TeamSite/tmp/iwsend_mail.log
While ruuning the workflow is running but the email is not working and it is giving error
2014-11-25 16:10:15,475 [http-0.0.0.0-8080-12] WARN com.interwoven.ui.teamsite.workflow.task.urltask.AuthorMailNotificationTask () - Job variable due_date=[c_gbarala] in job id=[15461120] could not be parsed.
2014-11-25 16:10:15,577 [http-0.0.0.0-8080-12] ERROR com.interwoven.ui.teamsite.workflow.task.urltask.MailNotificationTask () - messaging exception when sending task notification mail.
javax.mail.MessagingException: Unknown SMTP host: <enter your mail server domain name here>;
nested exception is:
java.net.UnknownHostException: <enter your mail server domain name here>
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1389)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
at javax.mail.Service.connect(Service.java:288)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at javax.mail.Transport.send0(Transport.java:188)
at javax.mail.Transport.send(Transport.java:118)
I gave SMPT server name but
2014-11-25 16:10:15,475 [http-0.0.0.0-8080-12] WARN com.interwoven.ui.teamsite.workflow.task.urltask.AuthorMailNotificationTask () - Job variable due_date=[c_gbarala] in job id=[15461120] could not be parsed.
2014-11-25 16:10:15,577 [http-0.0.0.0-8080-12] ERROR com.interwoven.ui.teamsite.workflow.task.urltask.MailNotificationTask () - messaging exception when sending task notification mail.
javax.mail.MessagingException: Unknown SMTP host: <enter your mail server domain name here>;
nested exception is:
java.net.UnknownHostException: <enter your mail server domain name here>
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1389)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
at javax.mail.Service.connect(Service.java:288)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at javax.mail.Transport.send0(Transport.java:188)
at javax.mail.Transport.send(Transport.java:118)
I restarted the server also after updating iw.cfg but i am not sure why it is giving error
javax.mail.MessagingException: Unknown SMTP host: <enter your mail server domain name here>;
Please let anyone know what may be tjhe issue. Any pointers.