I am trying to resolve the issue where if the app loses internet connection it fails when sending data to an email.
I would like to cache it locally till the app gets an internet connection.
The current code when submit button is pressed is below:
Office365Outlook.SendEmailV2(
"testing@test.co.uk",
"Gift Aid Form",
"<b>Title:</b>" & MrMrsTitle.Selected.Value & "<br>" &
"<b>First Name:</b>" & FirstName.Text & "<br>" &
"<b>Last Name:</b>" & LastName.Text & "<br>" &
"<b>Home Address:</b>" & HomeAddress.Text & "<br>" &
"<b>Email Address:</b>" & EmailAddress.Text & "<br>" &
"<b>Date:</b>" & Date.SelectedDate & "<br>" &
"<b>Contact Customer by Post?:</b>" & ContactByPost.Value & "<br>" &
"<b>Contact Customer by Email?:</b>" & ContactByEmail.Value & "<br>" &
"<b>Donor Number:</b>" & DonorNumber.Text & "<br>"
);
Navigate('Form Submitted Page', ScreenTransition.Cover)
On your send button, add An IF Condition to check connection if the device is online,
If Online Execute the Send option
If Offline Create a Collection
Add a Label for number of entries in the collection and when the device is back online USe ForAll to send each item in the collection
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2