Hi Jan,
I was careful to check everything this time before posting too quickly. Earlier tonight I posted an entry to the guestbook and the review email arrived. But ever since that one, no more have arrived (I'm in the process of manually entering some from the old website) After discovering this, I went to com_contact to test that out and discovered it was not working either. The problem was that I have to have the contact's email address be an email on my domain. As well as the from address. So once I changed those, the email and email copy arrived instantly when I used com_contact. So I went back to Phoca Guestbook and submitted a testimonial and unfortunately, the review email did not arrive. I cannot figure out why this is happening (and yes, I first verified that the setting for enabling the email is set in the menu item) What is even more strange is why did that one email arrive even when my email settings were not correct?
[Solved] review email not sending (or arriving)
-
- Phoca Enthusiast
- Posts: 85
- Joined: 10 May 2008, 21:11
[Solved] review email not sending (or arriving)
Last edited by dax702 on 03 Aug 2008, 18:58, edited 1 time in total.
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: review email not sending (or arriving)
Hi, the e-mail is sent by Joomla! framework's methods in Phoca Guestbook, try to check all variables in:
components/com_phocaguestbook/controllers/phocaguestbook.php
line: 568 (before sendMail)
add e.g. print_r($email);exit; to see what email address is there, you can check all other variables too (e.g. $mailfrom, ...)
Jan
components/com_phocaguestbook/controllers/phocaguestbook.php
line: 568 (before sendMail)
add e.g. print_r($email);exit; to see what email address is there, you can check all other variables too (e.g. $mailfrom, ...)
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 85
- Joined: 10 May 2008, 21:11
Re: review email not sending (or arriving)
Hi, I didn't fully understand your instruction. You want me to go to line 568 in that file and add:
print_r($email);exit;
What do I do after that? Or where do I go to see what effect adding that line of code had?
print_r($email);exit;
What do I do after that? Or where do I go to see what effect adding that line of code had?
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: review email not sending (or arriving)
If you add this code into the script and then you will go to your guestbook and add some message, instead of confirmation you get the name of the variable, so you will see, if the system has added the correct e-mail address or if there is an e-mail address at all...
Jan
Jan
If you find Phoca extensions useful, please support the project