SMTP Email send issue from Guestbook

Phoca Guestbook - creating guestbooks in Joomla! CMS
hawkeye
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Nov 2009, 02:24

SMTP Email send issue from Guestbook

Post by hawkeye »

I have to use my commercial smtp provider to send any outgoing emails from my Joomla site.

However, the "send" option when activated, appears to override my "send from" email address to be the users email they entered in the guestbook. When this happens I get the PHPMAILER_RECIPIENTS_FAILED error.

I have found a number of references to Joomla issues with problem, and I was able to modify the line 570 by adding and override:

Code: Select all

		$mailfrom 	= $mainframe->getCfg('mailfrom'); // ADDED TO FORCE SMTP FROM TO BE MY SITE
		JUtility::sendMail($mailfrom, $fromname, $email, $subject, $message);	
Although this works, I am wondering why this would be required. Why doesn't Joomla (or this module) account for a "send" that must match the name "authorised" to do the sending.

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48726
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SMTP Email send issue from Guestbook

Post by Jan »

Hi, sorry I don't understand?
Why doesn't Joomla (or this module) account for a "send" that must match the name "authorised" to do the sending
Jan
If you find Phoca extensions useful, please support the project
Post Reply