How To Send an Email Message Using the LaunchURL Extension
Previous Topic  Next Topic 

Problem:        How To Send an Email Message Using the LaunchURL Extension


Solution:        The LaunchURL extension, included with Satellite Forms 7.0 and also available by download for Satellite Forms 6.x, is designed to enable your application to open a website URL in the device's default web browser.  It can also be used to send an email message, by using a special URL.


The special URL to send an email message is the mailto: URL.  The mailto: URL is a defined internet URL standard, like http:, designed for sending shorter email messages via the web browser.  For complete details on the mailto: URL scheme, use Google to search for the relevant reference documents and samples.


To send a short email message, use the LaunchURL function from the LaunchURL extension to launch the mailto: URL, like this:


       dim err, URL

       URL = "mailto:user@domain.com?subject=This%20is%20%20subject&body=This%20is%20the%20message%20body."

       err = LaunchURL( URL )


On PalmOS Treo smartphones, your SatForms application will close and the the default email client (usually VersaMail) will appear, with the mail address, subject, and body information filled out.  You can edit the message and then send it.


On PocketPC Phone Edition devices, the default email application (usually Messaging) will be launched with the address and message information filled out.  Your Satellite Forms application will still be running in the background while the email application is active.


Keywords:        email, message, URL, LaunchURL, mail


KB ID: 10073 

Updated: 2007-06-26


Satellite Forms KnowledgeBase Online

Satellite Forms Website Home