Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llEmail problem

Dmitriy Gausman
Registered User
Join date: 16 May 2007
Posts: 132
01-27-2009 06:36
I am confused because I am not sure what is going on. I tried to make a script that will send me and IM when I am online and an email when I am offline. From appearance, it seems to work well. Object changes color and indicates the correct message if I am online or offline. If I am online, I get the IM. If I am offline, the person is told that an email was sent to me. The problem is I don't get the email.

I know the account is fine because I get email from Xstreet to that account, I sent an email to myself from another account and I got that as well. My Second Life settings are fine, saying that IM's shoud go to email.

At wits end, I decided to copy the script example from LSL Wiki and even THAT does not send the email. I put a little llSay comment before and after the llEmail command and i get both llSay messages in chat, so I know the program is getting to that spot.

I even have a free t-shirt giver that is located in my shops and when i test that, I don't get an email and that used to work fine and I have never changed that script.

I have looked at the email address for typos and I find nothing wrong (though I changed it for this example). Here is what I took from the wiki page. Does anyone have any thoughts of what might be wrong?

Thank you.
Dmitriy

CODE

string email_address = "myemail@myemail.com"; // who will receive the messages

default
{
state_entry() {

Send an email to a normal email account
llEmail( email_address, "Look it's an email subject line!", "Testing 1 2 3" );
}

touch_start( integer num_detected ) {
integer i = 0;

// Send another email, telling who touched the prim.
do
llEmail( email_address, "No touching!", "I was defiled by: " + llDetectedName(0) + "\nKey: " + (string) llDetectedKey(0) );
llSay(0,"message sent");
while(++i < num_detected);
}
}
CODE
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
01-27-2009 06:53
It doesn't seem to be a problem with llEmail. I tried the script you posted (after fixing it) and it works fine.
_____________________
Dmitriy Gausman
Registered User
Join date: 16 May 2007
Posts: 132
01-27-2009 07:54
Thank you for the reply. I think I found where the problem is...my isp. I have a few email addresses with them so I tried them all and none of them came to me. Then I used a gmail account I have and I did receive the email to that. So it seems my isp is blocking receipt of the emails from Second Life. I should have tried that before posting.

Dmitriy
Atashi Toshihiko
Frequently Befuddled
Join date: 7 Dec 2006
Posts: 1,423
01-27-2009 07:54
Maybe check your spam settings on that email account, and if there's a place where the 'junkmails' go, have a look in there.

The emails that you get using llEmail have a funky from address IIRC and some additional text is inserted stating the object location and owner etc, all of which can trigger people's spam filters.

-Atashi
_____________________
Visit Atashi's Art and Oddities Store and the Waikiti Motor Works at beautiful Waikiti.
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
01-27-2009 08:07
From: Dmitriy Gausman
Thank you for the reply. I think I found where the problem is...my isp. I have a few email addresses with them so I tried them all and none of them came to me. Then I used a gmail account I have and I did receive the email to that. So it seems my isp is blocking receipt of the emails from Second Life. I should have tried that before posting.

Dmitriy

Ahh... Just to add to that, I used a GMail account in my tests. Hardly conclusive, but worth thinking about.
_____________________
PeterPan Price
Enthusiastic Amateur
Join date: 20 Nov 2007
Posts: 178
01-27-2009 11:35
Why not use llInstantMessage() instesd of llEmail().

If you are in world, you get an IM. If you are not in world, you get an email notification ( just the same as any other IM).

Just a thought.
Dmitriy Gausman
Registered User
Join date: 16 May 2007
Posts: 132
01-31-2009 09:40
Well just an update (and I will try using the llInstantMessage idea, thank you)...there seems to be more of a problem than I had thought that might not just be on my side. I already submitted a ticket about it so we'll see what comes of it.

When I use llEmail on my SIM, and use my primary second life email address, i don't get the email. If I replace the email with a gmail address, it works fine. Now here is where it gets odd. If I go to another SIM, one where I have a shop, and I use the same object with the same script, but use the primary second life email address, it WORKS! After several tries, it seems that it depends on the region I am in whether my primary email address works or not. Very odd.

Nothing seems to be going into my SPAM or Junk mail folder, though it's still possible that something is being blocked from the ISP side. When I contacted my ISP, they said they had nothing listed under lsl.secondlife.com, so the search for some resolution continues.

Dmitriy