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 1 guest and 2 members 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
#1406
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  
Can you cut and paste your mailToFriend function so I can check with mine. If you no-oped some code as per my post, maybe, just maybe, you no-oped too much or didn't no-op enough.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1407
le GROS j?j (User)
Fresh Boarder
Posts: 19
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  
Here it is :
Code:

function mailToFriend($option,$act,$task,$id,$send ) { global $database, $my, $mainframe, $ea_footer; global $mosConfig_live_site, $mosConfig_sitename; global $mosConfig_mailfrom, $mosConfig_fromname; if($send == 0){ // show mailform /*$obj = new mosContent( $database ); $obj->load( $id ); if ( $obj->id === null || $obj->access > $my->gid ) { mosNotAuth(); return; } else {*/ $query = "SELECT template FROM #__templates_menu" . "\n WHERE client_id = 0" . "\n AND menuid = 0"; $database->setQuery( $query ); $tmpl = $database->loadResult(); $ea_footer = 0; // do not show EA footer in popup window HTML_frontend_estateagent::«»show_mtfForm( $obj->id, $obj->title, $tmpl ); } /*}*/ else{ // send email to friend $validate = mosGetParam( $_POST, mosHash( 'validate' ), 0 ); if (!$validate) { // probably a spoofing attack echo _NOT_AUTH; return; } $oid = mosGetParam( $_POST, 'id', '0' ); $email = mosGetParam( $_POST, 'email', '' ); $sendername = mosGetParam( $_POST, 'sendername', '' ); $senderemail = mosGetParam( $_POST, 'senderemail', '' ); $subject_default = _EA_ETF_INFO .' ' . $sendername; $subject = mosGetParam( $_POST, 'subject', $subject_default ); if ($oid < 1 || !$email || !$senderemail || ( check_email( $email ) == false ) || (check_email( $senderemail ) == false)) { echo "<script> alert('"._EA_ETF_ERR_NOEMAIL."'); window.history.go(-1);</script>"; } $query = "SELECT template FROM #__templates_menu" . "\n WHERE client_id = 0" . "\n AND menuid = 0"; $database->setQuery( $query ); $tmpl = $database->loadResult(); $link = sefRelToAbs( $mosConfig_live_site .'/index.php?option=com_estateagent&act=object&task=showEO&id='. $oid ); $msg = sprintf( _EA_ETF_MSG, $sendername, $senderemail, $mosConfig_sitename, $link ); mosMail( $senderemail, $sendername, $email, $subject, $msg ); HTML_frontend_estateagent::emailTFSent( $email, $tmpl ); } }
Thanx for having a look on this
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1409
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  
Well when I install it on a fresh Joomla it is running good, so it is not a hosting problem.. It has something to do with settings that are different on my life site. Have tried everything to no avail. So I have given up on it a little.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1410
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  
Sorry, no help. It looks just like mine.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1631
jim (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:email not working in for contact 2 Years, 3 Months ago Karma: -1  
Works Now Thank You Very Much I Love Your EA.



LINK CONTACTS IN CONTACT MANAGER TO SAME USERS THAT ADMINISTER EA. IN CATEGORY DROP DOWN CHOSE "ESTATE AGENTS"



Mail to a Friend function works fine ...unless ... you've messed around with the code ...


<br><br>Post edited by: jim, at: 2006/04/13 17:26
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop