Send mail with Gmail when there's no connection

Post your questions and help other users.

Moderator: Martin

Post Reply
Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Send mail with Gmail when there's no connection

Post by Wibbly » 09 Dec 2014 10:57

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?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Send mail with Gmail when there's no connection

Post by Martin » 09 Dec 2014 18:19

The action fails when there's no working internet connection.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Send mail with Gmail when there's no connection

Post by Wibbly » 09 Dec 2014 19:09

Martin wrote:The action fails when there's no working internet connection.
Is there a way to test if it's failed (so I can wait and try again)?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Send mail with Gmail when there's no connection

Post by Martin » 11 Dec 2014 17:01

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.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Send mail with Gmail when there's no connection

Post by Wibbly » 11 Dec 2014 18:14

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.
Ah-ha. Another great feature I'd not spotted. Will apply it.

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? ;-)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Send mail with Gmail when there's no connection

Post by Martin » 12 Dec 2014 16:45

Yes, SMS is send and pray for the time being. I have a request on my todo-list to support SMS delivery confirmations.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Send mail with Gmail when there's no connection

Post by Wibbly » 12 Dec 2014 17:16

Thanks Martin :-)

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Send mail with Gmail when there's no connection

Post by Wibbly » 05 May 2015 16:12

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.
Is SMS delivery confirmation likely in the next release after the current EAP?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Send mail with Gmail when there's no connection

Post by Martin » 06 May 2015 19:12

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.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Send mail with Gmail when there's no connection

Post by Wibbly » 07 May 2015 11:22

Thanks Martin

Post Reply