Jump to content

Email never arrives


Guest

Recommended Posts

When testing the shop, no email gets thru to customer OR to the shop...

No confirmation mail or anything. Does someone know why ?

all seems to be in order...

/Tommy

Link to comment
Share on other sites

are you testing live (www.) or locally (localhost)?

is the email address correct for the store in admin section under general settings?

Link to comment
Share on other sites

The email adress is correct, according to the ISP, the hostname for mysql are supposed to be "localhost"

Will mail the ISP and ask them

/Tommy

Link to comment
Share on other sites

  • 2 weeks later...

We had a problem with emails going awol after our ISP upgraded PHP. It ended up being due to the fact that the emailed text contained Pound sign '£'. I changed the email code to use GBP instead and the emails started arriving.

I've still had no explination from the ISP, but hey it works ! :D

Jus

Link to comment
Share on other sites

  • 2 weeks later...

Yes, we modified Confirmed.php and removed all instances in the email generation code of $currency_symbol and replaced it with "(GBP)". This solved the problem.

Jus

<_<

Link to comment
Share on other sites

  • 2 weeks later...

We replaced any lines in Confirmed.php that were responsible for constructing the emails ie. lines of the form

$email_content .= ...

with new code that did not include the currency symbol, as it was emails containing the '£' sign that were failing after our ISP server upgrade :)

So for example the line :

$email_content .= "$la_view_orders_grand_tot $currency_sym$prod_total\n\n";

became :

$email_content .= "$la_view_orders_grand_tot $prod_total (GBP)\n\n";

There are four or five lines in the email construction code that need to be modified in all, just search for $currency_sym.

Hope this helps :)

Jus

Link to comment
Share on other sites

Guest raceinc

I too am not receiving any order confirmations. I searched the forum and this is "THE" thread for ths problem.

I have looked into the confirmed.php file for my store and there is not an occurance anywhere in it for email or email_content so there is nothing to change to get email confirmations working on my site.

I CAN go into the admin panel, open an order, change the status, and have the system send an email to the customer and that DOES work.

The email address in the general setting area is valid.

I am only using the "Print Order Form" gateway for my store at the monent. Could that make a difference?

Just downloaded 3.0 beta and installed it today.

Thanks,

Lou

Link to comment
Share on other sites

  • 1 month later...

I'm having the same problem, is this suppose to be fixed in v3.0.2?

I cannot find any such line with ' $email_content .= ' in Confirmed.php is it now in an include file or something?

Link to comment
Share on other sites

  • 5 weeks later...

as far as I can make out there are many problems with emailing from the site.. I've submitted several posts about email problems, but nobody seems to have the answers.. emailing as a problem is also in the bug list so perhaps the developers will be able to sort these out ready for a maint release.

Fingers crossed..

Link to comment
Share on other sites

are you testing live (www.) or locally (localhost)?

is the email address correct for the store in admin section under general settings?

hey there

I'm having general email problems too.. I'm using my store on a local mambo server so yes its localhost, but I didn't think that should stop me testing with it ??

I've checked the email address in the general settings and its correct.

I wondered whether you had to configure the email address or SMTP gateway somewhere else..

Here's the top section of my classes/smtp.php file as I wondered whether the sections that say localhost should be changed..

Could someone else paste their own classes/smtp.php file into a reply so that I can compare.

* 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;

The formatting is a little off as its been made more narrow..

Has anyone else changed the localhost settings on their store.. ???

DO I need a local smtp server running on my pc to get the email working ??

Is there anyone out there that has a local installation of cubecart and has been able to get email working.. ???

Please PM me or post if you have ??

Thanks in advance

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...