Send mail with Gmail when there's no connection
Moderator: Martin
Send mail with Gmail when there's no connection
Does this action place the email in the outbox of my phone (so it will be sent when a connection is restored), or does the action fail if there's no coverage/Wifi/connection?
Re: Send mail with Gmail when there's no connection
The action fails when there's no working internet connection.
Re: Send mail with Gmail when there's no connection
Is there a way to test if it's failed (so I can wait and try again)?Martin wrote:The action fails when there's no working internet connection.
Re: Send mail with Gmail when there's no connection
You can attach another action to the Gmail-action then select the connection between the two actions, press the edit-button and switch the type of the connection to Exception. Such an Exception-connection is only executed when the previous action fails. You could attach an action Sleep with such a connection and then connect back to the Gmail-action to create a loop that tries to send the mail multiple times.
Re: Send mail with Gmail when there's no connection
Ah-ha. Another great feature I'd not spotted. Will apply it.Martin wrote:You can attach another action to the Gmail-action then select the connection between the two actions, press the edit-button and switch the type of the connection to Exception. Such an Exception-connection is only executed when the previous action fails. You could attach an action Sleep with such a connection and then connect back to the Gmail-action to create a loop that tries to send the mail multiple times.
As an aside, this won't work with sending SMS, will it? As far as I can tell the send of the SMS can fail without the flow failing, right? And I can't test if the txt is delivered either. So sending SMS is pretty much 'send and pray', right?

Re: Send mail with Gmail when there's no connection
Yes, SMS is send and pray for the time being. I have a request on my todo-list to support SMS delivery confirmations.
Re: Send mail with Gmail when there's no connection
Thanks Martin 

Re: Send mail with Gmail when there's no connection
Is SMS delivery confirmation likely in the next release after the current EAP?Martin wrote:Yes, SMS is send and pray for the time being. I have a request on my todo-list to support SMS delivery confirmations.
Re: Send mail with Gmail when there's no connection
I have not made the plans for version 1.29 yet but I'll increase the priority of this feature request so it's more likely to be included.
Re: Send mail with Gmail when there's no connection
Thanks Martin