Jump to content

email not working


Guest

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...