Do you use the Lasso Email Queue?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Do you use the Lasso Email Queue?

Carl Ketterling
Does anyone use the Lasso Email Queue heavily?

I'm having some problems that seem reproducible, and I'm wondering if
anyone else has a similar experience (or if I'm just doing something wrong).

Example 1:
When I send an email that has an invalid email address, the email will
appear in the Lasso Email Queue with an error, but it is never returned
to the originating email address (bounced).  I try to verify email
addresses before sending, but sometimes one gets through.

Example 2:
Sometimes the email queue will simply hang on to email messages.
Restarting the instance will release the messages, but I need to check
for messages in order to know that an instance restart is necessary.

I'm running Lasso 9 on Mac OS X v10.6.

Carl


#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Do you use the Lasso Email Queue?

Mason Miller
It's more like a long term storage solution than a queue.

Mason

On Jun 11, 2012, at 12:57 PM, Carl Ketterling wrote:

> Does anyone use the Lasso Email Queue heavily?
>
> I'm having some problems that seem reproducible, and I'm wondering if
> anyone else has a similar experience (or if I'm just doing something wrong).
>
> Example 1:
> When I send an email that has an invalid email address, the email will
> appear in the Lasso Email Queue with an error, but it is never returned
> to the originating email address (bounced).  I try to verify email
> addresses before sending, but sometimes one gets through.
>
> Example 2:
> Sometimes the email queue will simply hang on to email messages.
> Restarting the instance will release the messages, but I need to check
> for messages in order to know that an instance restart is necessary.
>
> I'm running Lasso 9 on Mac OS X v10.6.
>
> Carl

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Do you use the Lasso Email Queue?

Jonathan Guthrie-3
In reply to this post by Carl Ketterling
Hi Carl,

It seems there are some situations where the email_stage table retains emails that may have errored.
A workaround I have used recently is to clean out the email_stage table and re-queue the messages in the admin.

We're looking to a scenario we can reproduce the situation 100% to allow us to knock this on on the head.

On 2012-06-11, at 12:57 PM, Carl Ketterling wrote:

> Does anyone use the Lasso Email Queue heavily?
>
> I'm having some problems that seem reproducible, and I'm wondering if
> anyone else has a similar experience (or if I'm just doing something wrong).
>
> Example 1:
> When I send an email that has an invalid email address, the email will
> appear in the Lasso Email Queue with an error, but it is never returned
> to the originating email address (bounced).  I try to verify email
> addresses before sending, but sometimes one gets through.
>
> Example 2:
> Sometimes the email queue will simply hang on to email messages.
> Restarting the instance will release the messages, but I need to check
> for messages in order to know that an instance restart is necessary.
>
> I'm running Lasso 9 on Mac OS X v10.6.
>
> Carl
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

Jono

----------------------------
Jonathan Guthrie
[hidden email]
LassoSoft Inc.
+1 888-286-7753 ext 708

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Do you use the Lasso Email Queue?

Carl Ketterling
Thanks, Jono.  Let me know if there's anything I can do to help.

In response to this text from Jonathan Guthrie ([hidden email]) sent
on Monday, June 11, 2012 at 2:33 PM (-0400):

>Hi Carl,
>
>It seems there are some situations where the email_stage table retains
>emails that may have errored.
>A workaround I have used recently is to clean out the email_stage table
>and re-queue the messages in the admin.
>
>We're looking to a scenario we can reproduce the situation 100% to allow
>us to knock this on on the head.
>
>On 2012-06-11, at 12:57 PM, Carl Ketterling wrote:
>
>> Does anyone use the Lasso Email Queue heavily?
>>
>> I'm having some problems that seem reproducible, and I'm wondering if
>> anyone else has a similar experience (or if I'm just doing something
wrong).

>>
>> Example 1:
>> When I send an email that has an invalid email address, the email will
>> appear in the Lasso Email Queue with an error, but it is never returned
>> to the originating email address (bounced).  I try to verify email
>> addresses before sending, but sometimes one gets through.
>>
>> Example 2:
>> Sometimes the email queue will simply hang on to email messages.
>> Restarting the instance will release the messages, but I need to check
>> for messages in order to know that an instance restart is necessary.
>>
>> I'm running Lasso 9 on Mac OS X v10.6.
>>
>> Carl
>>
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>>  the mailing list Lasso
>> [hidden email]
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
>Jono
>
>----------------------------
>Jonathan Guthrie
>[hidden email]
>LassoSoft Inc.
>+1 888-286-7753 ext 708
>
>#############################################################
>This message is sent to you because you are subscribed to
>  the mailing list Lasso
>[hidden email]
>To unsubscribe, E-mail to: <[hidden email]>
>Send administrative queries to  <[hidden email]>


#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Do you use the Lasso Email Queue?

Carl Ketterling
In reply to this post by Jonathan Guthrie-3
I'm trying to work around this problem, and I fear I'm making it worse.
Here's the code:

email_send(
    -host='assp.thursby.com',
    -from=var('from-address'),
    -to=var('to-address'),
    -cc=var('cc-address'),
    -bcc=var('bcc-address'),
    -subject=var('email-subject'),
    -body=var('email-text')
    );
var(msg_id) = email_result;

local(myTimeout) = 200;                             // set the timeout to 20s
loop (-from=1, -to=#myTimeout)
    if (email_status($msg_id) == 'sent')            // message has been
successfully sent
        loop_abort;
    /if;
    if (email_status($msg_id) == 'error')           // message send failed
        loop_abort;
    /if;
    sleep(100);                                     // 1000 = 1s
/loop;
if (email_status($msg_id) == 'sent')                // message has been
successfully sent
    output('Success!');
else
    output('Email send failed (' + email_status($msg_id) + ')!');
/if;



This allows me to determine if there's a send problem before giving
control back to the calling program/user.  What I've found is that the
emails actually go out, but Lasso keeps the message in the database with
a status of 'error'.  Unfortunately, that leads to more questions:

 - Is there a way to determine what the error was?
 - Is there a way to remove the message without using Lasso Email Queue
(http://localhost/lasso9/admin/email)?

And a note:  Often when I try to remove a message from the email queue
using the above URL, the message doesn't appear to delete right away.  I
ignore the fact that it's listed even after a page refresh, and later
the page shows no messages.

Carl


In response to this text from Jonathan Guthrie ([hidden email]) sent
on Monday, June 11, 2012 at 2:33 PM (-0400):

>Hi Carl,
>
>It seems there are some situations where the email_stage table retains
>emails that may have errored.
>A workaround I have used recently is to clean out the email_stage table
>and re-queue the messages in the admin.
>
>We're looking to a scenario we can reproduce the situation 100% to allow
>us to knock this on on the head.
>
>On 2012-06-11, at 12:57 PM, Carl Ketterling wrote:
>
>> Does anyone use the Lasso Email Queue heavily?
>>
>> I'm having some problems that seem reproducible, and I'm wondering if
>> anyone else has a similar experience (or if I'm just doing something
wrong).

>>
>> Example 1:
>> When I send an email that has an invalid email address, the email will
>> appear in the Lasso Email Queue with an error, but it is never returned
>> to the originating email address (bounced).  I try to verify email
>> addresses before sending, but sometimes one gets through.
>>
>> Example 2:
>> Sometimes the email queue will simply hang on to email messages.
>> Restarting the instance will release the messages, but I need to check
>> for messages in order to know that an instance restart is necessary.
>>
>> I'm running Lasso 9 on Mac OS X v10.6.
>>
>> Carl
>>
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>>  the mailing list Lasso
>> [hidden email]
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
>Jono
>
>----------------------------
>Jonathan Guthrie
>[hidden email]
>LassoSoft Inc.
>+1 888-286-7753 ext 708
>
>#############################################################
>This message is sent to you because you are subscribed to
>  the mailing list Lasso
>[hidden email]
>To unsubscribe, E-mail to: <[hidden email]>
>Send administrative queries to  <[hidden email]>


#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Do you use the Lasso Email Queue?

Carl Ketterling
In reply to this post by Jonathan Guthrie-3
Jono,

Did anything ever happen with this problem?  I've updated my Lasso,
switched away from using Lasso as an email solution, and then switched
back again (for speed); and the problem still happens.  Every few days,
I have a customer email that is stuck in the Lasso email queue as
"Sending...".  At that point, all I know how to do is restart the
instance, and the email is freed and delivered.

Carl

In response to this text from Jonathan Guthrie ([hidden email]) sent
on Monday, June 11, 2012 at 2:33 PM (-0400):

>Hi Carl,
>
>It seems there are some situations where the email_stage table retains
>emails that may have errored.
>A workaround I have used recently is to clean out the email_stage table
>and re-queue the messages in the admin.
>
>We're looking to a scenario we can reproduce the situation 100% to allow
>us to knock this on on the head.
>
>On 2012-06-11, at 12:57 PM, Carl Ketterling wrote:
>
>> Does anyone use the Lasso Email Queue heavily?
>>
>> I'm having some problems that seem reproducible, and I'm wondering if
>> anyone else has a similar experience (or if I'm just doing something
wrong).

>>
>> Example 1:
>> When I send an email that has an invalid email address, the email will
>> appear in the Lasso Email Queue with an error, but it is never returned
>> to the originating email address (bounced).  I try to verify email
>> addresses before sending, but sometimes one gets through.
>>
>> Example 2:
>> Sometimes the email queue will simply hang on to email messages.
>> Restarting the instance will release the messages, but I need to check
>> for messages in order to know that an instance restart is necessary.
>>
>> I'm running Lasso 9 on Mac OS X v10.6.
>>
>> Carl
>>
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>>  the mailing list Lasso
>> [hidden email]
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
>Jono
>
>----------------------------
>Jonathan Guthrie
>[hidden email]
>LassoSoft Inc.
>+1 888-286-7753 ext 708
>
>#############################################################
>This message is sent to you because you are subscribed to
>  the mailing list Lasso
>[hidden email]
>To unsubscribe, E-mail to: <[hidden email]>
>Send administrative queries to  <[hidden email]>


#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>