| Author |
Message |
PK
|
Posted: 9 Jan 2006 15:09:25
Hi there,
For some reason, likely something I neglected to do, I am not seeing any emails sent from adding, modifying or deleting any links. Not to the emails listed nor to the email I have listed in the admin panel. All emails used are valid.
Thanks in advance for your help.
PK
|
skalinks Admin
|
Posted: 9 Jan 2006 21:26:33
Hi PK
Try to sent email to one of your other emails, and check for sending emails. If they are not recieve or send, please, whould you ask your hosting provider about email program that is used on hosting server. And, in second, please, try to open SkaLinks.class.php file in SkaLinks_include folder, find the mail()function, and delete the fifth argument of this function.
Thank you!
|
PK
|
Posted: 10 Jan 2006 18:42:27
HI again,
Thanks for your reply. I would like confirmation before I begine deleting arguements lol. Just to be sure, this is what I found...
/**
* Send mail
*
* @param string $to - email where message will be send
* @param string $subj - subject of message
* @param string $param_body the name of parametr from params table, wich function use as template of message
* @param string $from - name of sendler
* @param string $URL_link - the URL of link
* @param string $LOCATION_link - the location of link in Directory
* @param string $LISTING_link - URL of links listing page
* @param string $SiteBizname - the Bisness name of site, from where message will be send
* @param string $LinksEmail - the E-meil, where reciever can sent message
*
*/
function Mailer( $to, $subj, $param_body, $URL_link, $LOCATION_link, $LISTING_link, $SiteBizname )
{
global $_skalinks_url;
global $_skalinks_site;
$table_name = $this->m_ParamsTable;
$admin_table = $this->m_AdminsTable;
$tem_table = $this->m_LetterTemTable;
$tem_binding_table = $this->m_LetterTemBindingTable;
$res = $this->db_Row( "SELECT `VALUE` FROM `$table_name` WHERE `Name`='$param_body'");
$body = $res['VALUE'];
$links_table = $this->m_LinksTable;
$cat_table = $this->m_CategoriesTable;
$link_info = $this->db_Row( "SELECT * FROM `$links_table` WHERE `URL`='$URL_link'" );
if ( $param_body == 't_admin_link_approved' || $param_body == 't_admin_link_submitted' || $param_body == 't_admin_link_changed')
The part I have bolded, is this the correct line to remove?
Thanks again for your help! Other than this slight problem, the script works great, and looks really nice on my site :)
PK
|
skalinks Admin
|
Posted: 10 Jan 2006 22:39:56
Hello PK
No, please, the function you found is right, but you need to find this string
mail( $to, $subj, $body, $from, "-f".$sender_email );
and replace with
mail( $to, $subj, $body, $from );
Try it.
Thank you!
|
Anonymous
|
Posted: 1 Feb 2006 23:07:35
i dont think my server supports mail() function .. am using windows shared server ...
what can be done ? can u email to me ? mihir@arthatechnologies.com
|
Anonymous
|
Posted: 6 Feb 2006 21:40:00
admin can u tell me what parameter to delete .
My host said this:
We have safe mode enabled due to security concerns and in safe mode the fifth parameter in mail is not allowed.
Please remove the fifth parameter then you will not get any errors.
Where is the fifth parameter?
Thanks
|
skalinks Admin
|
Posted: 7 Feb 2006 03:45:30
No, please, the function you found is right, but you need to find this string
mail( $to, $subj, $body, $from, "-f".$sender_email );
and replace with
mail( $to, $subj, $body, $from );
Find the "mail" function in Skalinks.class.php in Skalinks_include folder. And make the operations as described higher.
|
Anonymous
|
Posted: 30 Apr 2006 18:05:55
I get
SMTP error from remote mail server after end of data:
host mail.xxx.com [196.xx.xxx.162]: 550 Administrative prohibition
The receiving mail server rejects the mail. I have tried the change above, with no luck.
Thanks.
|
Anonymous
|
Posted: 30 Apr 2006 18:09:45
http://nemesis.lonestar.org/site/mail_trouble.html
some useful information
|
StevieRay
|
Posted: 1 May 2006 12:15:27
Same issue here.... is BLUEHOST hosting a problem ? I know that some of these issues are server specific. How can I find out ?
|
Stevie Ray Member
|
Posted: 3 May 2006 08:50:11
Same issue only worse.... after installing Skalink I have not just no email capability in skalinks but I have also lost email functions in the phpBBwebsite and phpBB Knowledge Base MOD that are running on my server.
Environment:
Bluehost.com is the host
Operating system Linux
Kernel version 2.6.9-34.106.unsupportedsmp
Apache version 1.3.34 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.4.1
MySQL version 4.1.14-standard-log
PhpBB 2.0.19 running in domain mscforum.com
PhpBB Knowledge Base MOD in domain mscforum.com
SkaLinks 1.5 in mscforum.com/skalinks_1_5/
PhpWebsite running in domain objectivebusiness.com (primary domain)
http://www.objectivebusiness.com
mscforum.com is an add-on domain to objectivebusiness.com meaning it has it's own DNS registration but is physically in a subdirectory.
http://www.mscforum.com http://www.objectivebusiness.com/mscforum/
SYMPTOMS:
SkaLinks does not send any emails, funtion enabled or not.
Phpwebsite used to send emails properly, now returns errors in the Forms.php (sendmail) function.
Php Knowledge Base MOD used to send confirm emails but no longer does, returning similar errors.
PhpBB email confirmation on registration STILL WORKS !! ?? !!
I presume there is a conflict that has been created through the install. ANy advice on what to do would be greatly appeciated. This is not a fatal problem but is seriously reducing the usefulness of the solution, and I fugure it is something you might want to know about anyway.
Please let me know of any insights you have.
Kind regards,
SRV II
PS you can also mail me a solution if you have one... forumadministrator@mscforum.com
Need more info please let me know and I will get it. I really want to get this fixed... the solution set is otherwise very, very good for what I am doing.
|
skalinks Admin
|
Posted: 5 May 2006 07:03:43
Hello Stevie Ray
Ok, let's try to fix it.
Whould tell me, when the sending of emails stopped to work?
May be you changed hosting or something else?
Also, did you tried to delete fifth argument from mail function in SkaLinks.class.php file ?
|
Stevie Ray Member
|
Posted: 6 May 2006 08:50:29
Oh am I happy to hear from you, dear Admin !
The mail function did not work from install - which went quite well by the way (your instructions were both thorough and clear).
THe change implementation was done as follows:
________________________________________________
IN
skalinks_1_5/ SkaLinks_include / SkaLinks.class.php file
FIND
mail( $to, $subj, $body, $from, "-f".$sender_email );
REPLACE WITH
mail( $to, $subj, $body, $from );
______________________________________________
ANd I still get nothing at all coming forth.
Deeply mystified I am grateful for your help.... am also keenly interested to know if there is any chance this issue could be impacdting on the other applications... if you have some insight about that it would be very helpful as well - though I recognize that is really our of your scope.
Kind regards,
Stevie
|
Stevie Ray Member
|
Posted: 7 May 2006 15:53:37
UPDATE
Determined there is not conflict with PhpWebsite at all... my mistake made in unrealted area, si I would say that the SkaLinks and phpwebsite can coexist in harmony.
Also the issues I have with mail related to the KBMOD to phpBB may just be mod bugs. The code in that MOD is not very clean (but the functionality is really nice).
SO that leaves me with the SKALINKS email issue all by itself. Is there any more information I can provide to help problem-solving ?
THanks for everything.
SRVII
|
Stevie Ray Member
|
Posted: 7 May 2006 17:51:18
[RESOLVED]
THis should be closed and moved to http://www.skalinks.com/forums/1_446_0.html
SRVII
|
|