Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Email Contact

16 Feb 2015, 14:19

Hi Karl...

I noticed that the contact email function no longer works on www.merelyafleshwound.com after installing v0.9.

I also noticed that it does not work on your demo site.

Can you verifiy if v0.9 broke this function?

Thanks
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: Email Contact

16 Feb 2015, 23:27

It looks to me like you have copy-pasted your entire chunk of email settings into the new settings file? It looks like you have pasted it incorrectly ... The settings create an object of configurations, and it is important that the indentations are maintained, so that the structure of the settings are kept in tact. With your settings I see this:
Code
settings:
  pagenav: auto 
  preload: 
  server:
    rewrite	: 
    base_url: 
    reporting: 
    cdn_core: 
    cdn_files: 
    mail:
    to		: 
    from	: 
    subject	: 
    host	: 
    SMTPAuth: 
    username: 
    password: 
    SMTPSecure: 
    port	:
    debug	: 
It should be:
Code
settings:
  pagenav: auto 
  preload: 
  server:
    rewrite	: 
    base_url: 
    reporting: 
    cdn_core: 
    cdn_files: 
  mail:
    to		: 
    from	: 
    subject	: 
    host	: 
    SMTPAuth: 
    username: 
    password: 
    SMTPSecure: 
    port	:
    debug	: 
There is a subtle but crucial difference in the indentation of the "mail" node. If you are going to copy-paste entire segments of settings instead of populating manually, you need to be very careful about doing it correct unfortunately ....
alexhenes wrote:I also noticed that it does not work on your demo site.
We have not yet set up mail in the demo ...
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Email Contact

17 Feb 2015, 00:41

subtle...

Thank you!
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
NoirCavalier
Posts: 17
Joined: 25 Jan 2015, 11:32

Re: Email Contact

20 Feb 2015, 11:53

As we are at eMail Contact..........

I genereally can´t get the contactform to work......
It doesn´t work for me from 0.6 on and even doesn´t work at 0.9.

The contactform at the checkpage always works for me like a charm, but if i try the contactform at my imprint page it gives me an error.
The error disappears if i fill in the correct SMTP-Settings, but it keeps sending and sending and sending but in doesn´t send it.

So for me it seems to be diffrent code between my checkpage contactform and the contactform i can setup at pages like my imprint page
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Email Contact

20 Feb 2015, 12:58

Still having the issue after making these changes.

Does anyone have working smtp email working on v0.9?
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: Email Contact

20 Feb 2015, 13:52

alexhenes wrote:Still having the issue after making these changes.

Does anyone have working smtp email working on v0.9?
Code
host	: smpt.gmail.com
Instead, try:
Code
host	: smtp.gmail.com
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Email Contact

20 Feb 2015, 14:41

what is the difference between the two?
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
NoirCavalier
Posts: 17
Joined: 25 Jan 2015, 11:32

Re: Email Contact

20 Feb 2015, 16:53

@alexhenes: There´s a typo. ;-)

host : smpt.gmail.com

Instead, try:
host : smtp.gmail.com
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Email Contact

20 Feb 2015, 16:56

I am such an idiot... thanks Karl. How does the debug option work... could have I have found this myself... dyslexia and all? :oops:
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Email Contact

21 Feb 2015, 03:53

alexhenes wrote:I am such an idiot... thanks Karl. How does the debug option work... could have I have found this myself... dyslexia and all? :oops:
I also didn't see it :D
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: Email Contact

21 Feb 2015, 10:04

alexhenes wrote:I am such an idiot... thanks Karl. How does the debug option work... could have I have found this myself... dyslexia and all? :oops:
It is a bit hard tracing mail errors, but I user Chrome Developer tools, network tab. Once the mail script triggers (either true or false), I click the script that loaded, and click the "response" tab to view the output:
Image
Image
In your case, I didn't see the typo at first either, but I saw the message "cannot contact server smpt.gmail.com". I thought hmmm now that's strange, so I double checked the smtp setting, and then I noticed the typo.