Difference between revisions of "LSL llEmail"

From Second Life Wiki
Jump to navigation Jump to search
Line 33: Line 33:
|examples
|examples
|helpers
|helpers
|also_functions=*{{LSLG|llMessageLinked}}
|also_functions=*{{LSLG|llGetNextEmail}}
|also_events*{{LSLG|link message}}
*{{LSLG|llMessageLinked}}
|also_events=*{{LSLG|email}}
*{{LSLG|link message}}
|also_tests=*[[llEmail]]
|also_tests=*[[llEmail]]
|also_articles
|also_articles
Line 40: Line 42:
|permission
|permission
|negative_index
|negative_index
|cat1
|cat1=Communications
|cat2
|cat2=Email
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 17:13, 11 February 2007

Summary

Function: llEmail( string address, string subject, string message );
20.0 Forced Delay
10.0 Energy

Sends an email to address with subject and message.

• string address
• string subject
• string message

Specification

The message is prefixed with information about the prim sending the email.

Template Example
Object-Name: *prim*
Region: *simname* (*simpos.x*, *simpos.y*)
Local-Position: (*primpos.x*, *primpos.y*, *primpos.z*)

*message*
Object-Name: Object
Region: Gibson (254976, 256000)
Local-Position: (117, 129, 50)

The real message starts here.

Caveats

  • This function causes the script to sleep for 20.0 seconds.There is a limit to the number of email messages an object can send in a given amount of time.

Examples

Notes

Because of the long delay on this function, it is often called from a second script triggered by link message.

See Also

Deep Notes

Tests

Signature

function void llEmail( string address, string subject, string message );