Guest Posted September 7, 2005 Share Posted September 7, 2005 my tell a friend page is not working......it says message sent but the email is never recieved. I have it set to mail(). Any help Quote Link to comment Share on other sites More sharing options...
kinetic Posted September 8, 2005 Share Posted September 8, 2005 your host might have mail() disabled (to prevent spammers using your server) try using the SMTP setting and inpoutting your emaiul address and password for that email address in most cases this will clear up most email problems with cubecart peace out Kinetic Quote Link to comment Share on other sites More sharing options...
Guest Posted September 8, 2005 Share Posted September 8, 2005 Which file do i change? Can you show me example of what needs changed? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 8, 2005 Share Posted September 8, 2005 Error when i switched to smtp: Warning: fsockopen(): unable to connect to localhost:25 in /store/classes/smtp.php on line 87 Quote Link to comment Share on other sites More sharing options...
Guest rjmead Posted September 11, 2005 Share Posted September 11, 2005 your host might have mail() disabled (to prevent spammers using your server) try using the SMTP setting and inpoutting your emaiul address and password for that email address in most cases this will clear up most email problems with cubecart peace out Kinetic I'm running version 3.0.2 locally on a thumb drive using Mambo as a standalone server. I tried to send an email to the customer (my own test email account) but with the general settings set to mail () I get the following error. Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in Z:\www\I-Capture\classes\htmlMimeMail.php on line 669 I'm not sure what that is telling me to do exactly... ????? If I change the setting to smtp in the admin/general settings it either states that the email was sent (although no email arrives) or it just sits there saying its sending the email and again no email is sent.. Is there something I'm doing wrong here. Do I need a mail server of somekind on my pc or should this send via SMTP from my pc without needing to configure anything else ????? Any help would be appreciated.. many thanks Rich Quote Link to comment Share on other sites More sharing options...
Guest rjmead Posted September 14, 2005 Share Posted September 14, 2005 BUMP.. HEY IS BROOKY IN HERE SOMEWHERE. Any chance of someone taking a look at this when they have a chance.. Are there any SMTP gateway addresses or login details that have to be added in order for this to work.. I've looked at the smtp.php file to see if I can fathom anything out, but I can't seem to get a handle on it.. Are the details below supposed to be left as they are or are we supposed to edit some of them to get email to work..??? Has anyone else had to edit any files to get email to work ??? /** * Constructor function. Arguments: * $params - An assoc array of parameters: * * host - The hostname of the smtp server Default: localhost * port - The port the smtp server runs on Default: 25 * helo - What to send as the HELO command Default: localhost * (typically the hostname of the * machine this script runs on) * auth - Whether to use basic authentication Default: FALSE * user - Username for authentication Default: <blank> * pass - Password for authentication Default: <blank> * timeout - The timeout in seconds for the call Default: 5 * to fsockopen() */ function smtp($params = array()){ if(!defined('CRLF')) define('CRLF', "\r\n", TRUE); $this->authenticated = FALSE; $this->timeout = 5; $this->status = SMTP_STATUS_NOT_CONNECTED; $this->host = 'localhost'; $this->port = 25; $this->helo = 'localhost'; $this->auth = FALSE; $this->user = ''; $this->pass = ''; $this->errors = array(); foreach($params as $key => $value){ $this->$key = $value; } } Rich Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.