Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llEmail aint working :( plz hlp

TheLoneWolf Arkin
Registered User
Join date: 26 Jan 2007
Posts: 29
02-21-2007 05:42
Hi,

ok this IS the first time i work with this command but after reading the wiki this should work right? no errors given to me when compiling.

Now how i read it is that if i pay the object it sends an email. but i never receive any. how does that work? (i try to get it to my mailbox external of sl, IM like sytem when offline)

i would like this to work so i can give the ppl who contribute a confirmation email in their mailbox.

can anybody help on this?


default
{
state_entry()
{

}

money(key id, integer amount)
{
llEmail((string)id + "@lsl.secondlife.com",llKey2Name(id) + " Thank you for paying.", llKey2Name(id) + ", thank you for paying " + (string)amount + "L$";);
}

}
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
02-21-2007 06:04
I don't think you can send an email to an agent in this manner. You would need to use IM instead.

Emailing a [key]@lsl.secondlife.com works for emailing objects which can then use llGetNextEmail to read them.
_____________________
www.nandnerd.info
http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum
Elsewhere Essex
Registered User
Join date: 8 Sep 2006
Posts: 50
02-21-2007 06:07
CODE

default
{
state_entry()
{

}

money(key id, integer amount)
{
llEmail((string)id + "@lsl.secondlife.com",llKey2Name(id) + " Thank you for paying.", llKey2Name(id) + ", thank you for paying " + (string)amount + "L$");
}

}


you arent sending to their "out of SL" emails doing it like that. you are basicly trying to send an email directlly to them,as if they were an object.

you will have to find another way since avatars dont handle email,or have a way to retieve emails though script like an object would.

lol, Nand beat me to it =)

wel here's my contribution then

always wrap your code being posted in here in the
CODE
 or 
CODE
 tags