Difference between revisions of "LSL llEmail"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
|func_desc=Sends an email to '''address''' with '''subject''' and '''message'''. | |func_desc=Sends an email to '''address''' with '''subject''' and '''message'''. | ||
|return_text | |return_text | ||
|spec=The message is prefixed with information about the prim sending the email. | |spec=The '''message''' is prefixed with information about the prim sending the email. | ||
<pre> | {{{!}}{{Prettytable}} | ||
!Template | |||
!Example | |||
{{!}}- | |||
{{!}}<pre> | |||
Object-Name: *prim* | Object-Name: *prim* | ||
Region: *simname* (*simpos.x*, *simpos.y*) | Region: *simname* (*simpos.x*, *simpos.y*) | ||
Line 16: | Line 20: | ||
*message* | *message* | ||
</pre> | </pre> | ||
{{!}} | |||
<pre> | |||
Object-Name: Object | |||
Region: Gibson (254976, 256000) | |||
Local-Position: (117, 129, 50) | |||
The real message starts here. | |||
</pre> | |||
{{!}}} | |||
|caveats = There is a limit to the number of email messages an object can send in a given amount of time. | |caveats = There is a limit to the number of email messages an object can send in a given amount of time. | ||
|constants | |constants |
Revision as of 17:11, 11 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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.