JavaException while sending Email Notification

I configured rxworkflow.properties to have the MAIL_DOMAIN and the SMTP_HOST. Then I configured the workflow different transition/ states to send out email notifications.

I see following exception on Rhythmyx server after making a workflow state on the content item:

[I][B]14:18:28,095 ERROR [PSEmailMessageHandler] Cannot deliver email
com.percussion.workflow.mail.PSMailException: Sending failed;
nested exception is:
javax.mail.MessagingException: 530 5.7.1 Client was not authenticated

    at com.percussion.workflow.mail.PSJavaxMailProgram.sendMessage(Unknown S

ource)
at com.percussion.services.system.impl.PSEmailMessageHandler.onMessage(U
nknown Source)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doI
nvokeListener(AbstractMessageListenerContainer.java:531)
at org.springframework.jms.listener.AbstractMessageListenerContainer.inv
okeListener(AbstractMessageListenerContainer.java:466)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doE
xecuteListener(AbstractMessageListenerContainer.java:435)
at org.springframework.jms.listener.AbstractPollingMessageListenerContai
ner.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
at org.springframework.jms.listener.AbstractPollingMessageListenerContai
ner.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
at org.springframework.jms.listener.DefaultMessageListenerContainer$Asyn
cMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)

    at org.springframework.jms.listener.DefaultMessageListenerContainer$Asyn

cMessageListenerInvoker.run(DefaultMessageListenerContainer.java:868)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 530 5.7.1 Client was not authenticated

    at javax.mail.Transport.send0(Transport.java:218)
    at javax.mail.Transport.send(Transport.java:80)
    ... 10 more[/B][/I]

Is there anyother parameter we need to configure, or anyone experienced similar issue?

thanks
Manvinder

From the exception, it appears that this error is happening because of no authentication. To me that makes sense, because no where during the configuration I actually set the user id/ password for the mail server.

Is there any screen or any properties file where we need to set the user id/ password, so it could be authenticated before the request hits the mail server.

manvinder