0

Can't get compose start event to work

I can get the message.read event to work, but not the compose.start event.

Here's my config.xml

CODE
<?xml version="1.0"?>
<openmail_app_config version="0">
<name>Enlocked</name>
<description>Enlocked - encrypted emails</description>
<data/>
<events>
<compose>
<action>
<launch>
<view>compose.html</view>
<target_zone>hidden</target_zone>
<context>load</context>
</launch>
</action>
</compose>
<message_read>
<match>
<header>
<name>subject</name>
<regex>/.*/</regex>
</header>
</match>
<action>
<launch>
<view>main.html</view>
<target_zone>hidden</target_zone>
<context>load</context>
<ttl>0</ttl>
</launch>
</action>
</message_read>
</events>
</openmail_app_config>


and compose.html


CODE
<!DOCTYPE HTML>
<html>
<head>
<script src="http://yui.yahooapis.com/combo?3.3.0/build/yui/yui-min.js&3.3.0/build/loader/loader-min.js&3.3.0/build/oop/oop-min.js&3.3.0/build/dom/dom-min.js&3.3.0/build/dom/dom-style-ie-min.js&3.3.0/build/event/event-base-min.js&3.3.0/build/event-custom/event-custom-min.js&3.3.0/build/event/event-delegate-min.js&3.3.0/build/pluginhost/pluginhost-min.js&3.3.0/build/node/node-min.js&3.3.0/build/json/json-min.js"></script>
<script src="http://mail.yimg.com/nq/om/api/1.1.7/om-min.js"></script>

<script>
function handleComposeStart(args) {
alert('compose');
}

onload = function() {
openmail.Application.setListener( {event:"compose.start"}, handleComposeStart );
}
</script>
</head>
<body></body>
</html>


What am I doing wrong?

by
2 Replies
  • Hi Rudy,

    Unfortunately, compose.start hasn't yet been implemented in the latest Yahoo! Mail and the documentation hasn't been updated to reflect that.

    Sorry about that.

    Joe
    0
  • Any estimates as to when it will be implemented?

    Thanks,
    Slavik

    QUOTE (joecomotion @ Jun 24 2011, 09:41 AM) <{POST_SNAPBACK}>
    Hi Rudy,

    Unfortunately, compose.start hasn't yet been implemented in the latest Yahoo! Mail and the documentation hasn't been updated to reflect that.

    Sorry about that.

    Joe
    0
This forum is locked.

Recent Posts

in Yahoo! Mail Application Platform