Jump to content

Recommended Posts

Hi there,

My form is not getting submitted, it is showing:

Unable to verify successful email delivery of this form submission.

Attaching for your reference as well: 

Screenshot_20191105-172804__01.thumb.jpg.5daa336b75626f275b0e79ded6074fe6.jpg

In the Backend, it is showing Connection timed out with smtp.gmail.com

Pl guide me how to resolve that

  • Confused 1

Share this post


Link to post
Share on other sites
2 minutes ago, Mithlesh said:

Hi @3fingers, can you help me for the same?

Please consider contextualize a bit more your situation, post some code. Are you using gmail as a service to send your email? Have you allowed then "unsafe" apps to use their smtp for that?
Lot of things to consider.

Share this post


Link to post
Share on other sites

@3fingers

Yeah, we are using gmail(smtp.gmail.com) and processwire is showing the below:

Screenshot_20191107-205139.thumb.jpg.76d20f5c5090831130a162b2b99efcee.jpg

I have checked Test settings function, it's showing SMTP settings appear to work properly.

Also, attaching the code's doc for your reference(module code) named: WireMailSmtp.module

WireMailSmtp.module

Edited by Mithlesh
Forgot to attach the code

Share this post


Link to post
Share on other sites

Your last screenshot says it's working.

So... what's the (new) issue now?

 

P.S.: there is no need for ASAP.

  • Like 2

Share this post


Link to post
Share on other sites
6 minutes ago, wbmnfktr said:

Your last screenshot says it's working.

So... what's the (new) issue now?

 

P.S.: there is no need for ASAP.

Okay 🙂

So, module settings is showing fine but when someone is trying to fill the form on the website(www.writerrelocations.com), it is like:

Unable to verify successful email delivery of this form submission

Share this post


Link to post
Share on other sites

Hi @Mithlesh,

Obviously It is nothing wrong with the WiresMailSmtp. There is some error about the submission of the form.

Please provide code about how your form constructed and the code about how you manage the form submit. Then we can give you some useful hints.

Gideon

  • Like 1

Share this post


Link to post
Share on other sites

If you are using FormBuilder you might want to take a look at the FormBuilder section of this forum as well. There are many solutions to all kinds of issues. I your case - but that is just a guess - it seems either your hosting is issues sending the mail (security modules in Apache maybe or missing modules) or your form wasn't embedded in the correct way. Saw this a few times when I added the form twice on a page or missed some scripts.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Marvin
      Hello,
      I'm new at process wire and i want to make an web using upload file and showing it at the table as a link to open it at the new tab. I wa succed while upload a file, but how i showing it as a link at the table to open it at the new tab of my browser? Any suggestion may helpfull
      Here i attach my code below :
      This code is for upload it to back-end (process wire)
      <?php $note = $note2 = $hidden =""; if($input->post->submit){ $upload_path = $config->paths->assets.'files/upload/'; if(!is_dir($upload_path)){ if(!wireMkdir($upload_path)) throw new WireException("No upload path"); } $original = $sanitizer->text($input->post->original); $indonesia = $sanitizer->text($input->post->indonesia); $other = $sanitizer->text($input->post->other); $composer = $sanitizer->text($input->post->composer); if(!$original || !$indonesia || !$other || !$composer){ $note = "Data tidak lengkap"; } else { $newFile = new WireUpload("song_files"); $newFile->setMaxFiles(1); $newFile->setOverwrite(false); $newFile->setDestinationPath($upload_path); $newFile->setValidExtensions(array('pdf','docx','doc')); $files = $newFile->execute(); if(!count($files)) { $newFile->error("No files received, so not creating page."); return false; } $newImg = new WireUpload("img_files"); $newImg->setMaxFiles(1); $newImg->setOverwrite(false); $newImg->setDestinationPath($upload_path); $newImg->setValidExtensions(array('jpeg','jpg','png','gif')); $files = $newImg->execute(); if(!count($files)) { $newImg->error("No files received, so not creating page."); return false; } $newPage = new Page(); $newPage->template = "files"; $newPage->parent = $pages->get("/files/"); $newPage->title = $original; $newPage->text_1 = $indonesia; $newPage->text_2 = $other; $newPage->text_3 = $composer; $newPage->of(false); $newPage->save(); foreach($files as $filename) { $filepath = $upload_path . $filename; $newPage->files->add($filepath); $newPage->message("Add file : $filename"); unlink($filepath); } $newPage->save(); } } ?> and this code to showing it as a link at the table
      <table class="border"> <tr> <th>No.</th> <th>Original Song Title</th> <th>Indonesia Song Title</th> <th>Other Song Title</th> <th>Composer</th> <th>File (pdf)</th> </tr> <?php $num = 1; $song; foreach($pages->get("/files/")->children as $child) { //showing every child at files parent directory $page == $child; $song = $pages->get("/files/".$child->id."/")->files; //showing uploaded files at child directory echo $child->id; echo "<tr><td>".$num++.".</td><td>".$child->title."</td><td>".$child->text_1."</td><td>".$child->text_2."</td><td>".$child->text_3."</td><td><a href='".$song->httpUrl."'</a>".$song->name."</td></tr>"; } ?> </table> Thank you for any suggestion
    • By picarica
      so i am trying to fetch dimensions of image using getimagesize() but it returns nothing, at least i think so, i want to feed it to data attribute, bit its emtpy, i tried feeding it the image directly or just image->url
      here is my source code

       
      foreach($page->repeat_body as $r_body) { /* other code here*/ if ($r_body->gallery_check == 1) { echo "<div class='my-gallery' id='grid-gallery' itemscope itemtype='http://schema.org/ImageGallery'>"; foreach($r_body->image as $image) { $options = array('quality' => 80, 'upscaling' => true, 'cropping' => 'north', 'sharpening'=>'medium'); $thumb = $image->size(400, 400, $options); $large = $image->size(1280, 0, $options); list($width, $height) = getimagesize($image->url); echo " <figure itemprop='associatedMedia' itemscope itemtype='http://schema.org/ImageObject'> <a href='$large->url' itemprop='contentUrl' data-size='$widthx$height' data-index='0'> <img src='$thumb->url' height='$height' width='$width' itemprop='thumbnail' alt='Beach'> </a> </figure>"; } echo "</div>"; } /* other code here*/ } now, the images are outputted correctly, i can open then and browse them
    • By greene000
      There is a site https://carnesmechanical.com/ on the WordPress CMS engine on the server, you need to transfer it to Processwire to another server. About 1000 pages. Write how much you are ready to undertake?
    • By franciccio-ITALIANO
      Hello to all. I would like to create an app. So I need to learn at least one programming language. I got informed online, and discovered that javascript with node.js, is the revolution of recent years, because it's faster than php. I wonder: if I develop an app with javascript and with a javascript framework (e.g. Meteor), is there a way to integrate processwire work? I know that processwire supports the transformation of the site into an application, but would it be as simple as Meteor? With the Meteor framework I have my app online in 10 minutes, and without even knowing javascript! (Knowing javascript would serve to personalize it). I should then install the app in a SUB-DOMAIN. If I study php, instead, and if I use a php framework (e.g. Laravel), how long does it take to have my first working app? Is it easy to process Laravel's components? Is writing forms for processwire apps with php a very complex job? Is it better to use Meteor and start with javascript? What would you recommend?
×
×
  • Create New...