Re: [Dev] [CEP] Error in sending emails using CEP output email adapter
Hi Madhawa, According to the exception your error is caused by an Authentication Exception. Can you please double check the credentials of the email account you have used. Also please not that if you extensively use same mail address to send, it can get temporally blocked. So if your credentials are all fine try with using another email account. thanks, Tishan On Thu, Oct 30, 2014 at 2:28 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi All, I have done configurations as mentioned in CEP documentation, but I'm getting two errors. Which are, 1. Error in creating email message or sending it to the configured server 2. Error in generating email message Please find the attached error message file. Please how can I to figure out these errors. Thanks. -- *Madhawa Gunasekara* Software Engineering Intern WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tishan Dahanayakage Software Engineer WSO2, Inc. Mobile:+94 716481328 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP] Error in sending emails using CEP output email adapter
Hi Madhawa, As per the offline discussion changing the username will fox your problem Thanks, tishan On Thu, Oct 30, 2014 at 3:13 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Tishan, Thanks for the quick response Tishan. I have double checked the credentials. but Still I'm finding the same errors. I'm using Gmail account and also I'm not trying to send emails for the configured email address. Here I have attached my configurations. I have done these configurations in axis2xml_client.xml file. Does there any issues in my configurations? *transportSender name=mailto class=org.apache.axis2.transport.mail.MailTransportSender parameter name=mail.smtp.fromtrafficanalyzer...@gmail.com trafficanalyzer...@gmail.com/parameterparameter name=mail.smtp.userTraffic Analyzer/parameterparameter name=mail.smtp.password$password/parameterparameter name=mail.smtp.hostsmtp.gmail.com http://smtp.gmail.com/parameterparameter name=mail.smtp.port587/parameterparameter name=mail.smtp.starttls.enabletrue/parameterparameter name=mail.smtp.authtrue/parameter/transportSender* Thanks Best regards. On Thu, Oct 30, 2014 at 2:43 PM, Tishan Dahanayakage tis...@wso2.com wrote: Hi Madhawa, According to the exception your error is caused by an Authentication Exception. Can you please double check the credentials of the email account you have used. Also please not that if you extensively use same mail address to send, it can get temporally blocked. So if your credentials are all fine try with using another email account. thanks, Tishan On Thu, Oct 30, 2014 at 2:28 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi All, I have done configurations as mentioned in CEP documentation, but I'm getting two errors. Which are, 1. Error in creating email message or sending it to the configured server 2. Error in generating email message Please find the attached error message file. Please how can I to figure out these errors. Thanks. -- *Madhawa Gunasekara* Software Engineering Intern WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tishan Dahanayakage Software Engineer WSO2, Inc. Mobile:+94 716481328 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. -- *Madhawa Gunasekara* Software Engineering Intern WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 -- Tishan Dahanayakage Software Engineer WSO2, Inc. Mobile:+94 716481328 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP] Error in sending emails using CEP output email adapter
Hi Tishan, Thanks for helping me to figure out the problem. I have mistakenly used display name as user name that's why I found these errors. Best regards, Madhawa On Thu, Oct 30, 2014 at 3:19 PM, Tishan Dahanayakage tis...@wso2.com wrote: Hi Madhawa, As per the offline discussion changing the username will fox your problem Thanks, tishan On Thu, Oct 30, 2014 at 3:13 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Tishan, Thanks for the quick response Tishan. I have double checked the credentials. but Still I'm finding the same errors. I'm using Gmail account and also I'm not trying to send emails for the configured email address. Here I have attached my configurations. I have done these configurations in axis2xml_client.xml file. Does there any issues in my configurations? *transportSender name=mailto class=org.apache.axis2.transport.mail.MailTransportSender parameter name=mail.smtp.fromtrafficanalyzer...@gmail.com trafficanalyzer...@gmail.com/parameterparameter name=mail.smtp.userTraffic Analyzer/parameterparameter name=mail.smtp.password$password/parameterparameter name=mail.smtp.hostsmtp.gmail.com http://smtp.gmail.com/parameterparameter name=mail.smtp.port587/parameterparameter name=mail.smtp.starttls.enabletrue/parameterparameter name=mail.smtp.authtrue/parameter/transportSender* Thanks Best regards. On Thu, Oct 30, 2014 at 2:43 PM, Tishan Dahanayakage tis...@wso2.com wrote: Hi Madhawa, According to the exception your error is caused by an Authentication Exception. Can you please double check the credentials of the email account you have used. Also please not that if you extensively use same mail address to send, it can get temporally blocked. So if your credentials are all fine try with using another email account. thanks, Tishan On Thu, Oct 30, 2014 at 2:28 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi All, I have done configurations as mentioned in CEP documentation, but I'm getting two errors. Which are, 1. Error in creating email message or sending it to the configured server 2. Error in generating email message Please find the attached error message file. Please how can I to figure out these errors. Thanks. -- *Madhawa Gunasekara* Software Engineering Intern WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tishan Dahanayakage Software Engineer WSO2, Inc. Mobile:+94 716481328 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. -- *Madhawa Gunasekara* Software Engineering Intern WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 -- Tishan Dahanayakage Software Engineer WSO2, Inc. Mobile:+94 716481328 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. -- *Madhawa Gunasekara* Software Engineering Intern WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev