[mashup-dev] [jira] Commented: (MASHUP-395) Email Support: Returns
an error when
and array of email addresses is given as the "To" address
Keith Godwin Chapman (JIRA)
jira at wso2.org
Tue Nov 20 07:06:35 PST 2007
[ http://www.wso2.org/jira/browse/MASHUP-395?page=comments#action_13470 ]
Keith Godwin Chapman commented on MASHUP-395:
---------------------------------------------
Fixed in revision 9979.
> Email Support: Returns an error when and array of email addresses is given as the "To" address
> ----------------------------------------------------------------------------------------------
>
> Key: MASHUP-395
> URL: http://www.wso2.org/jira/browse/MASHUP-395
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.2
> Environment: WinXP,
> JDK1.5
> Reporter: Yumani Ranaweera
> Assigned To: Keith Godwin Chapman
> Fix For: 0.3
>
>
> Steps to recreate:
> 1. Create a .js service using the source below;
> function sendEmail_ArrayOfTo(){
> var message = new Email("smtp.gmail.com", "25", "mashupserver at gmail.com", "wso2wsas");
> var file = new File("temp.txt");
> message.from = "mashupserver at gmail.com";
> var to = new Array();
> to[0] = "yumani77 at yahoo.com";
> to[1] = "yumani at wso2.com";
> to[2] = "yumaniranaweera at hotmail.com";
> message.to = to;
> message.cc = "yumani at wso2.com";
> message.bcc = "yumani at gmail.com";
> message.subject = "Mashup server approaches 1.0";
> message.addAttachement(file); // this method has a variable number of arguments. each argument can be a File hostObject or a string representing a file.
> message.text = "The 1.0 release is planned for end of January";
> message.send();
> }
> 2. Deploy the service
> 3. Access https://localhost:7443/services/EmailToGmail?tryit#sendEmail_ArrayOfTo
> Issue:
> ------
> It returns an error as below;
> Fault: The argument to this function should be an array of email addresses or a single email address
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Mashup-dev
mailing list