Home arrow Forum
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





Lost Password?
No account yet? Register
Stay Tuned!
 
Who's Online
We have 2 guests online

powered_by Joomla
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
email not working in for contact (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: email not working in for contact
#1288
setanta (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:email not working in for contact 2 Years, 4 Months ago Karma: 0  
I cured the email to friend by removing the check in estateagent.php in function mailToFriend at line 613. I no-oped the following lines:
/*
$obj = new mosContent( $database );
$obj->load( $id );

if ( $obj->id == null || $obj->access > $my->gid ) {
mosNotAuth();
return;
} else {
*/

I also had to no-op line 631 which was an end conditional (})

I'm still having a problem mailing to Estate Agent about a particular object (function sendMail). This keeps coming back with 'Email could not be sent'. Why is the PHP mail function being used as opposed to mosMail?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1289
setanta (Visitor)
Click here to see the profile of this user
Birthdate:
Re:email not working in for contact 2 Years, 4 Months ago  
I cured the email to friend by removing the check in estateagent.php in function mailToFriend at line 613. I no-oped the following lines:
/*
$obj = new mosContent( $database );
$obj->load( $id );

if ( $obj->id == null || $obj->access > $my->gid ) {
mosNotAuth();
return;
} else {
*/

I also had to no-op line 631 which was an end conditional (})

I'm still having a problem mailing to Estate Agent about a particular object (function sendMail). This keeps coming back with 'Email could not be sent'. Why is the PHP mail function being used as opposed to mosMail?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1297
setanta (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:email not working in for contact 2 Years, 4 Months ago Karma: 0  
Ok! I have it working now. I substituted mail for mosmail. This works for me because I don't have mail set up on my Apache server, so I use the Joomla settings which says to use my SMTP server. I changed line 599:
Code:

if(mail($row->email_to,$ctf_subject,$mail_body,$header)) $msg = _EA_CTF_MSUCCESS;
to:
Code:

if (mosMail( $ctf_mail, $ctf_name, $row->email_to, $ctf_subject, $mail_body )) $msg = _EA_CTF_MSUCCESS;
It's probably better anyway to use mosMail and keep it all in the family.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1298
DreNL (User)
Expert Boarder
Posts: 107
graphgraph
User Offline Click here to see the profile of this user
Re:email not working in for contact 2 Years, 4 Months ago Karma: 6  
This is great! Changing to mosMail saved my day on this one, another functionality which can be used. Now I only have one more problem. As soon as I hit the mail to friend the pop-up comes up, but the site goes to the mainpage again. Someone has a solution for that?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1299
admin (Admin)
Admin
Posts: 562
graph
User Offline Click here to see the profile of this user
Gender: Male MisterEstate Location: South Germany
Re:email not working in for contact 2 Years, 4 Months ago Karma: 31  
Hi DreNL,

here?s a solution:

find the <a href...> tag which opens the mortgage calculator (estateagent.php / line ~530) and change it from this:

<a href="#" ...>

to this:

<a href="javascript:void(0)"...>


kinldy regards,

Darko<br><br>Post edited by: admin, at: 2006/03/04 09:54
 
Report to moderator   Logged Logged  
 
kindly regards / beste Gruesse

Admin
  The administrator has disabled public write access.
#1300
admin (Admin)
Admin
Posts: 562
graph
User Offline Click here to see the profile of this user
Gender: Male MisterEstate Location: South Germany
Re:email not working in for contact 2 Years, 4 Months ago Karma: 31  
Hi setanta,


thx for the solution! I was very busy last days, so I hadn?t the time to change it.


Darko
 
Report to moderator   Logged Logged  
 
kindly regards / beste Gruesse

Admin
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop