Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with sendin e-mail when there is no internet connection

Featured Replies

Hey guys,

I have a problem with my script. What i want that the script does is that if there is no internet connection, the script must not go further to set the field to "ja". i have made this script but its not working good.

Can someone help me? for a script when internet is available that the script need to stop but when there is internet to send email and set the field to "ja"

Here the screenshot

Edited by Guest

Try something like:

...

Set Error Capture [ On ]

Send Mail [ ... ]

If [ Get(LastError) ]

Show Custom Dialog [ "Send Mail failed." ]

Else

Set Field [ ... ; "ja" ]

Show Custom Dialog [ "Send Mail was successful." ]

End If

...

  • Author

Thank you for you help.

I tryed what you say but it doenst work if i turn my connection off it does continue to set the field. :

I cannot test this myself, but if there is no error returned after the Send Mail[] step, then there's not much you can do. Perhaps one of the mail plugins can do better.

  • Author

Thank you for your help do you have a tip which email plugin i can use?

Before you go there - are you SURE there is no error returned? As I said, I cannot test this, but I would be very surprised if the step didn't provide some feedback in case of no connection.

  • Author

Well thank you for your help i did make a backup of the script but it was using the old script so the new one had no effect my mistake its works now thank you very much for you help :

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.