Difference between revisions of "LSL llEmail"

From Second Life Wiki
Jump to navigation Jump to search
(note)
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func_id=119|func_sleep=20.0|func_energy=10.0
|func_id=119|func_sleep=20.0|func_energy=10.0
|sort=Email
|sort=Email|func=llEmail
|func=llEmail|p1_type=string|p1_name=address|p2_type=string|p2_name=subject|p3_type=string|p3_name=message
|p1_type=string|p1_name=address
|p2_type=string|p2_name=subject
|p3_type=string|p3_name=message
|func_footnote
|func_footnote
|func_desc=Sends email to address with subject and message
|func_desc=Sends an email to '''address''' with '''subject''' and '''message'''.
|return_text
|return_text
|spec
|spec=The message is prefixed with information about the prim sending the email.
<pre>
Object-Name: *prim*
Region: *simname* (*simpos.x*, *simpos.y*)
Local-Position: (*primpos.x*, *primpos.y*, *primpos.z*)
 
*message*
</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
|examples
|examples
|helpers
|helpers
|also_functions
|also_functions=*{{LSLG|llMessageLinked}}
|also_events
|also_events*{{LSLG|link message}}
|also_tests=*[[llEmail]]
|also_tests=*[[llEmail]]
|also_articles
|also_articles
|notes=Because of the long delay on this function, it is often called from a second script triggered by link messages.
|notes=Because of the long delay on this function, it is often called from a second script triggered by {{LSLG|link message}}.
|permission
|permission
|negative_index
|negative_index
Line 21: Line 30:
|cat2
|cat2
|cat3
|cat3
|cat4=Stub
|cat4
}}
}}

Revision as of 18:08, 11 February 2007

Summary

Function: llEmail( string address, string subject, string message );

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.

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

*message*

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.
All Issues ~ Search JIRA for related Bugs

Examples

Notes

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

See Also

Functions

Deep Notes

Search JIRA for related Issues

Tests

Signature

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