Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contact Form Sent Successfully but failed to receive the email #22

Closed
jubbot opened this issue May 18, 2022 · 8 comments
Closed

Contact Form Sent Successfully but failed to receive the email #22

jubbot opened this issue May 18, 2022 · 8 comments

Comments

@jubbot
Copy link

jubbot commented May 18, 2022

Describe the bug
Test send form and did not receive email but in record log I can see all fields entered.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to Editor and select contact page and click Components > Form Builder > Render Form Component
  2. Click Render Form Component and click the name of the Form and save
  3. Go to Contact page and fill out the form and hit submit
  4. Email Client did not receive contact form but Form Log say it has been submitted

Expected behavior
The behaviour seem to me that when I complete the custom contact form and clicked submit button, successfully send form notice and nothing came through my email but appear in Preview Log.

Mail Configuration
Sender Name: Dummy
Sender email: noreply@dummy.com.au
Mail Method: PHP mail

Mail Template

Layout: Default Layout

Form Builder
Details Tab
Sender Email: noreply@dummy.com.au
Sender Name: Dummy Dummy
Mail Template: Default Form Template

Recipients Tab
Email: realname@dummy.com

Screenshots
If applicable, add screenshots to help explain your problem.

October version
2.2.24

Plugin version
2.2.0

Additional context
Written guide to assist customers how to setup basic contact form with test working configuration would be great

@mplodowski
Copy link
Owner

Go to Settings -> Mail -> Mail Templates and click any template. There will be a send test message button. If you don't receive any email when doing this, than your October Mail configuration is wrong. Sometimes PHP Mail method is blocked in some providers. I recommend you to setup SMTP method.

@jubbot
Copy link
Author

jubbot commented May 18, 2022

Yes I have visited Settings -> Mail -> Mail Templates and click any template. Tested the send test message button and I have received the email. Could be something in the code that cause the issue?

@mplodowski
Copy link
Owner

This recipient email "realname@dummy.com" is your valid email address? Please try to use personal email to check if it works.

@jubbot
Copy link
Author

jubbot commented May 19, 2022

The above email is not the real email, I don't want to publicly display my email address here.

I switched from PHP Mail to SMTP and filled the Mail Configuration based on GoDaddy's advice
Not sure if it is related to the plugin but when I tried to test the send test I get this error

Connection could not be established with host smtp.office365.com :stream_socket_client(): unable to connect to tcp://smtp.office365.com:587 (Network is unreachable)

It saying that the network is unreachable? Have you encounter this error before if so what step should I take to diagnose the error?

@mplodowski
Copy link
Owner

Sorry, but this is not plugin related. It is mail configuration settings, that is different in each service/server provider. I don't know what is wrong here, but there are some topics in Google that may help you.

@jubbot
Copy link
Author

jubbot commented May 19, 2022

Okay, I will find topics in Google search

@jubbot
Copy link
Author

jubbot commented May 19, 2022

I decided to use MailGun and they work fine. Another topic. I've install uploader plugin and question on how can I limit the upload max file size and restrict specific file type? When the user submit the contact form does the uploaded files goes to the email or it uploaded to backend and I go and download them?

@mplodowski
Copy link
Owner

Version 3.1.0 have new options for uploaded files. Uploaded files are send as attachments and can be previewed in backend form log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants