• Hi

    I was wondering how I could add a delay in sending the form after the user submits it. Say 20 minutes after submitting?

    Basically
    1) we want the delay as a parameter to be set for each form in the admin area say Advanced Tab
    2) when the user submits that form its delay is used to submit the form after that delay – based on the form’s ‘Delay’ parameter.

    Can this be done? If yes, how?

    Thanks,

    Sudha

    https://wordpress.org/plugins/si-contact-form/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Sudha, have you changed the default 3 seconds under Redirect delay in seconds:? This is located under Advanced -> Redirect Settings.

    Thread Starter ViruSudha

    (@virusudha)

    Hi,

    Thanks for your message.

    We actually require a delay in SENDING the email not in showing the redirect url. I figured I will do that using wp_schedule_single_event. That should be ok.

    Could you help Regarding my first point 1) we want the delay as a parameter to be set for each form in the admin area say Advanced Tab
    Could you add a hook into the Advanced Tab similar to how you have a hook into the Newsletter tab. My client is very particular that we add the Delay parameter into the Advanced Tab only.

    Please let me know asap.

    Thanks a lot

    Hi ViruSudha please create a support ticket. @mike Challis the developer will assist you further.

    Kind regards

    Thread Starter ViruSudha

    (@virusudha)

    Thanks for the quick reply 🙂

    Thread Starter ViruSudha

    (@virusudha)

    Have made a small donation & sent a ticket..hope I get a quick response from mike 🙂

    It is not normal to make a user submitted process stay in the server. A delay feature you request is not something that is easy to add nor is it something that anybody else has requested before. What is the purpose of it anyway?

    Thread Starter ViruSudha

    (@virusudha)

    Thanks for the response Mike. I don’t know the specifics as they don’t have a website yet. This is my client’s requirement –

    “Please add ‘Our New Setting Function’ here. Call it the ‘Delivery Delay Time’
    I wish to be able to have (a) minute setting (b) hour setting (c) day setting. So I can then it set it to Send The Confirmation Email (for any particular form) to for eg 20mins, 2 hours, 1 day. It will then deliver the confirmation email exactly 1 day, 2 hours and 20 mins after the form has been submitted.”

    What I need from you, Mike, is the action hook in the Advanced Tab – Can you add that pls?

    Thanks a lot,

    Sudha

    Thread Starter ViruSudha

    (@virusudha)

    Sorry one more thing, Would you be able to add the hook in confirmation_email_callback()?
    So I can add the delay in The Confirmation email settings of Advanced Tab. They want it here.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Delay In Email Sending’ is closed to new replies.