I am new to flex 4.6 and want to send mail with all the fields of email aumatically generated. i want to do this all on a single click.
See the Employee Directory example project for Android, Blackberry and iOS by Christophe Coenraets:
protected function list_changeHandler(event:IndexChangeEvent):void
{
var action:Object = list.selectedItem;
switch (action.type)
{
case "tel":
navigateToURL(new URLRequest("tel:"+action.details));
break;
case "sms":
navigateToURL(new URLRequest("sms:"+action.details));
break;
case "mailto":
navigateToURL(new URLRequest("mailto:"+action.details));
break;
}
}
For subject and other fields try appending ?subject=
and &body=
after the mail address eventually combined with escape function .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.