[mashup-dev] Email support for the mashup server

Keith Chapman keith at wso2.com
Mon Nov 12 07:03:17 PST 2007


I missed the methods, May be we should add them too.

message.cc = "";
message.bcc = "";
message.addAttachment(javascriptFileObject); and 
message.addAttachment(javascriptFileObject[]);

Thanks,
Keith.


Keith Chapman wrote:
> Hi,
>
> Now that we have Instant Messaging going its time to thing about 
> email. Using the same IM api to send emails does not look like the 
> correct thing to do, and I propose introducing an email hostobject 
> which can be used as follows.
>
> var email = new Email("host");
> var message = Email.newMessage;
> message.from = "keith at wso2.com";
> message.to = "mashup-dev at wso2.org";
> message.subject = "Mashup server approaches 1.0";
> message.content = "The 1.0 release is planned for end of january";
> message.send();
>
> Alternative to message.to can support the foloowing
>
> message.to = "mashup-dev at wso2.org mashup-user at wso2.org";
> or
> var to = new Array();
> to[0] = "mashup-dev at wso2.org";
> to[1] =  "mashup-user at wso2.org";
> message.to = to;
>
> Thoughts?
>
> Thanks,
> Keith.
>
> _______________________________________________
> Mashup-dev mailing list
> Mashup-dev at wso2.org
> http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
>





More information about the Mashup-dev mailing list