- Posts: 295
COMMUNITY FORUM
Send item error message
- stavroch
-
Topic Author
- Offline
- Elite Member
Less
More
14 years 7 months ago #89125
by stavroch
Send item error message was created by stavroch
When I sent one item from the front end to the mail account I get the following error"noticeIt could not sent the message"This error is displaying to Firefox. On the IE is working with the right way.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 6 months ago #89126
by william white
Replied by william white on topic Send item error message
if ie is working and ff is not, this may be a setting you have in ff or a ff version problem.
i assume you mean that you are clicking the email this button in the item toolbar of a k2 item
i assume you mean that you are clicking the email this button in the item toolbar of a k2 item
Please Log in or Create an account to join the conversation.
- stavroch
-
Topic Author
- Offline
- Elite Member
Less
More
- Posts: 295
14 years 6 months ago #89127
by stavroch
Replied by stavroch on topic Send item error message
Right. But many ff users have the same error.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
14 years 6 months ago #89128
by Lefteris
Replied by Lefteris on topic Send item error message
Hi. K2 uses Joomla! built in mechanism for sending emails (com_mailto). Probably you have not set the mail functions under Joomla! configuration.
Please Log in or Create an account to join the conversation.
- stavroch
-
Topic Author
- Offline
- Elite Member
Less
More
- Posts: 295
14 years 6 months ago #89129
by stavroch
Replied by stavroch on topic Send item error message
I have set the mail function right because on the IE you can send normally one item to the e-mail address.
Please Log in or Create an account to join the conversation.
- stavroch
-
Topic Author
- Offline
- Elite Member
Less
More
- Posts: 295
14 years 6 months ago #89130
by stavroch
Replied by stavroch on topic Send item error message
william how can I check if the problem is from the user pc or the k2 error
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 6 months ago #89131
by william white
Replied by william white on topic Send item error message
If its a browser issue, i would take a look at the security settings in the browsers first - open them up and see what happens, also, there could be firewall issues on individual computer setups.
I would also do as Lefteris says, test the normal joomla item article email function in both browsers on the machine in question to try to see where the trouble is. Sorta like pulling cards until the thing boots!
I would also do as Lefteris says, test the normal joomla item article email function in both browsers on the machine in question to try to see where the trouble is. Sorta like pulling cards until the thing boots!
Please Log in or Create an account to join the conversation.
- marlen
-
- Offline
- New Member
Less
More
- Posts: 3
13 years 10 months ago #89132
by marlen
Replied by marlen on topic Send item error message
How to tackle with EMAIL_NOT_SENT error in Joomla 1.5
first: go to > default.php in \components\com_mailto\views\mailto\tmpl\ change redirect index.php to custommail.php
<form action="<?php echo JURI::base() ?>custommail.php" name="mailtoForm" method="post">
second: create new file in Joomla root , Name it as custommail.php , Insert following code in that file:
<?php ########### Search for Joomla Website ############ #Created By – Prasad Wagholikar #
#Purpose – custom mail send script to send article link to friend #
#Joomla 1.5.8 , Mail Icon , mail ‘article link’ to a friend , mail function is not working , hence this is a custom script developed to send mail to friend ,The mail form is in \components\com_mailto\views\mailto\tmpl\default.php , Previously it was submited to index.php , But because of known bug in mail , The form action is changed to customMail.php to send mail through this custom script. ####################################################### $headers = ‘MIME-Version: 1.0′ . “\r\n”; $headers .= ‘Content-type: text/html; charset=iso-8859-1′ . “\r\n”;
$customMailTo=$_REQUEST; $customMailFrom=$_REQUEST; $customSubject=$_REQUEST; $customSender=$_REQUEST; $articlelink=$_REQUEST; $mailForm = ‘Mail from : ‘.$customSender.’ <’.$customMailFrom.’>’; $message=’<html><body><span><p><b>’.$customSender.’</b> has sent you the link <a href=’.$articlelink.’ >’.$articlelink.’</a></p></span></body></html>’; $sentMail=mail($customMailTo,$mailForm , $message, $headers); if($sentMail) { ?> <h5> The article link has been sent successfully</h5>
<?php } else { ?> <h5> EMAIL_NOT_SENT </h5>
<?php } ?>
<div style=”text-align:right”> <a href=”javascript: void window.close()”> Close <img src=”/components/com_mailto/assets/close-x.png” border=”0″ alt=”" title=”" /> </a> </div>
first: go to > default.php in \components\com_mailto\views\mailto\tmpl\ change redirect index.php to custommail.php
<form action="<?php echo JURI::base() ?>custommail.php" name="mailtoForm" method="post">
second: create new file in Joomla root , Name it as custommail.php , Insert following code in that file:
<?php ########### Search for Joomla Website ############ #Created By – Prasad Wagholikar #
#Purpose – custom mail send script to send article link to friend #
#Joomla 1.5.8 , Mail Icon , mail ‘article link’ to a friend , mail function is not working , hence this is a custom script developed to send mail to friend ,The mail form is in \components\com_mailto\views\mailto\tmpl\default.php , Previously it was submited to index.php , But because of known bug in mail , The form action is changed to customMail.php to send mail through this custom script. ####################################################### $headers = ‘MIME-Version: 1.0′ . “\r\n”; $headers .= ‘Content-type: text/html; charset=iso-8859-1′ . “\r\n”;
$customMailTo=$_REQUEST; $customMailFrom=$_REQUEST; $customSubject=$_REQUEST; $customSender=$_REQUEST; $articlelink=$_REQUEST; $mailForm = ‘Mail from : ‘.$customSender.’ <’.$customMailFrom.’>’; $message=’<html><body><span><p><b>’.$customSender.’</b> has sent you the link <a href=’.$articlelink.’ >’.$articlelink.’</a></p></span></body></html>’; $sentMail=mail($customMailTo,$mailForm , $message, $headers); if($sentMail) { ?> <h5> The article link has been sent successfully</h5>
<?php } else { ?> <h5> EMAIL_NOT_SENT </h5>
<?php } ?>
<div style=”text-align:right”> <a href=”javascript: void window.close()”> Close <img src=”/components/com_mailto/assets/close-x.png” border=”0″ alt=”" title=”" /> </a> </div>
Please Log in or Create an account to join the conversation.