Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Troubles With E-mail Confirmation


Guest

Recommended Posts

Posted

Pulling al my haires out:

Everything is working fine, except the confirmation e-mails. (both admin and customer receive nothing)

When a new customer signs up for a new account, they dó reveive an e-mail for activation. When order is complete, even when i put the testorder on 'delivered' in de admin page, still there is no e-mail delivery.

 

These are the settings on configuration-->mystore-->email options:

======================

E-Mail Transport Method SMTP

E-Mail Linefeeds CRLF

Use MIME HTML When Sending Emails true

Verify E-Mail Addresses Through DNS false

Send E-Mails true

=======================

These are the settings on configuration-->mystore:

======================

E-Mail Address [email protected]

E-Mail From [email protected]

 

Send Extra Order Emails To [email protected]

=======================

i have an smtp server as local host.

Anyone who can help me out please?

Please note, although no boardcode and smiley buttons are shown, they are still useable

Posted

If your site is on an Apache server then try 'sendmail' instead of smtp.

 

Vger

Posted
If your site is on an Apache server then try 'sendmail' instead of smtp.

 

Vger

 

Nope, server 2003 with IIS

any other ideas?

Posted

Nobody?

I've changed smtp to 'localhost' instead of ipadres, but that dit not help.

tried differend internal and external e-mail adresses

enabled logging --> no clues

tried without smtp authenticating, tried with different accounts

 

getting really crazy...hope that anyone can help me

Posted
Nobody?

I've changed smtp to 'localhost' instead of ipadres, but that dit not help.

tried differend internal and external e-mail adresses

enabled logging --> no clues

tried without smtp authenticating, tried with different accounts

 

getting really crazy...hope that anyone can help me

 

No, but I'm getting a similar problem and working on it now. Neither party gets an "order placed" email. I thought maybe there was something I had to do to allow OSCommerce TO send emails, but that can't be, because the "contact us" form works just fine.

 

Maybe there's a problem with the way the order is being handled? I'm currently using paypal only, how about you?

Posted

Hello had similar problem.

 

My server required ini_set("sendmail_from", "valid@emailaddress"); before the mail command.

 

includes/classes/email.php and admin/includes/classes/email around lines 521.

 

if (EMAIL_TRANSPORT == 'smtp') {

ini_set("sendmail_from", "[email protected]");

return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));

} else {

ini_set("sendmail_from", "[email protected]");

return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));

}

 

The email address has to be a valid address for the server hosting the site.

 

My mail now works on both sendmail and smtp settings. Also forwards to addresses in Send Extra Order Emails with no problems.

Posted

Thanks for helping out!

I think the problem is smtp authentication. I installed email.php

wich you can find here: http://www.oscommerce.com/community/contri...all/search,smtp

and i also placed your code inside it. But both did not resolve my problem.

I searched my logfiles for smtp, and found out that the following is logged by the smtp service:

===================

2007-06-11 19:28:38 127.0.0.1 noname SMTPSVC1 NONAME 127.0.0.1 0 HELO - +noname 250 0 41 11 0 SMTP - - - -

2007-06-11 19:28:38 127.0.0.1 noname SMTPSVC1 NONAME 127.0.0.1 0 MAIL - +FROM:<+"CBloeml"+<[email protected]>> 501 0 27 44 0 SMTP - - - -

2007-06-11 19:28:38 127.0.0.1 noname SMTPSVC1 NONAME 127.0.0.1 0 QUIT - noname 240 0 66 4 0 SMTP - - - -

===============================

i think that 501 is someting like 'bad fotmat' or so....

any more ideas?

Posted
No, but I'm getting a similar problem and working on it now. Neither party gets an "order placed" email. I thought maybe there was something I had to do to allow OSCommerce TO send emails, but that can't be, because the "contact us" form works just fine.

 

Maybe there's a problem with the way the order is being handled? I'm currently using paypal only, how about you?

 

i''m not that far yet, and everything is default! Just installed clean version, installed new email.php file (see post above)

same problem...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...