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

Emails not being received #12

Closed
tarrp opened this issue Nov 29, 2016 · 4 comments
Closed

Emails not being received #12

tarrp opened this issue Nov 29, 2016 · 4 comments
Labels

Comments

@tarrp
Copy link

tarrp commented Nov 29, 2016

Hi,

I have just discovered that my p01-contact form (http://bbmc.boys-brigade.org.uk/index.php?id=contact-us) is not working. It was working previously, but had not been tested for a long time. I have now tried to send a test message and although it says it has sent it, the email is not received. I had made no configuration changes before it stopped working, but when I looked at the configuration. it had the minimum message size of 100 and no email address in the contact field. I am sure that I was able to send emails including short messages previously. I have fixed both of these problems but emails are still not being received.

The syntax I am using is:

(% contact : [email protected], name!, subject!, email!, phone, text "Company", text "Battalion/District", message! %)

Can anyone explain what has happened, why this no longer works and what can be done to fix it.

Thanks,

Phil Tarr
(BB Mountaineering Club)

@tarrp
Copy link
Author

tarrp commented Dec 3, 2016

Hi once again,

After searching through backups and thinking about what I might have done, I think I might have understood what happened to the configuration.

Firstly, the lack of any data in the default email address field would not have been a problem as I had included the email address to forward to in the code.

Secondly, a few years ago, I reloaded the GetSimple CMS and all the plugins I was using to fix a problem. I didn't then change the minimum size back from the default 100 to the 5 that I had previously set and I possibly didn't test that the email form was still working. I am sure it was working before I did this though and it may well have been working afterwards, but is not working now.

I am worried that I am running GetSimple 3.2.0 but the documentation for p01-contact says that it is only compatible with GetSimple 3.0. Is this the cause of my problems, but why then did it initially work?

Any thoughts on why it isn't working and how to fix it would be gratefully received.

Thanks,

Phil Tarr
(BB Mountaineering Club)

@nliautaud
Copy link
Owner

Hi Phil ,

As you said, no default address in the admin configuration is not an issue if you specifically define a target in your form markup.

I just tried with a fresh install of GS 3.3.13 & the last state of p01-contact, with the syntax you're using and didn't get any issue.

I recommend you to (in order) :

  • check twice the address you defined in code, or try without (you shouldn't need to write php if you're not making specific behaviors, as parameters can be set trough the admin panel and/or form syntaxes)
  • disable other plugins, to see if there is any conflict
  • reinstall the last version of p01-contact from here
  • update to the last version of GS (backup everything first)

Best

@tarrp
Copy link
Author

tarrp commented Dec 16, 2016 via email

@nliautaud
Copy link
Owner

Hi Phil,

I didn't see anything strange in the debug you sent me, and cannot reproduce the issue here, so we'll have to see with the outcome of the checklist.

Don't forget to try removing any PHP code related to p01-contact you written yourself, as you mentioned above, and to use the plugin downloaded from Github (as this is what I've tested with success).

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

No branches or pull requests

2 participants