Community Add-Ons
smtp through the authentication smtp server
for osCommerce Online Merchant v2.2
If you have not a sendmail or smtp server in php.ini, your smtp server must authentication , you can read this contributions, It can help you send email through the smtp server with your email user and password to authentication. smtp through the authentication smtp server
This Is the Setting for Google Apps or Gmail
Enhanced the SMTP debug capability to catch and report errors that occur early in the protocol exchange.
he zip file contains the complete contribution.
The support thread for this contribution can be found at: http://forums.oscommerce.com/index.php?showtopic=274251
This update adds a MIME date / time header to the SMTP based email messages.
The zip file contains the complete contribution.
Fixed a minor bug in email.php which caused the body of an email message to be double spaced. The bug caused every newline character sequence to be replaced with two newline character sequences when the email newline character was configured as the CRLF pair (which it must be when utilizing SMTP).
This update includes a debug capability which is generally useful when dealing with SMTP configuration problems. When enabled, the SMTP protocol exchange is dumped to the browser window. From the information displayed you should be able to resolve any SMTP configuration problems you are having.
The README.txt files explains how to use the debug capability.
The zip file contains the complete contribution.
Added logic to correctly handle the "Send Extra Order Emails To" option per the format documented on the admin configuration page.
The prior logic only supported a single extra email address in a bare fromat (e.g., me@mydomain.com). This contribution now handles the documented comma separated format:
Name 1 <email@address1>, Name 2 <email@address2>
The zip file contains the compete contribution.
Updated the previous submittal to fix the bug I induced when I deleted erroneous logic. New logic now correctly replaces bare LF in the body of an email with CR/LF pairs. The previous release would not send out internally generated email (namely order confirmations) when the module was configured for SMTP with an Internet message transfer agent like qmail which strictly enforces 822bis section 2.3.
Now tested against qmail and sendmail message transfer agents.
Tested on a Linux 2.6 Apache 2.2.3 PHP 4.4.4-8 MySQL 5.0.32 server environment against Linux Iceweasel 2.0.0.3 and Window IE 6.0 browsers.
I opened a support thread for this promissing contrib that many have troubles with as I can see: http://forums.oscommerce.com/index.php?showtopic=274251
The ZIP is emtpy
Updated the previous submittal to correctly handle the SMTP Authentication Required configuration parameter. The package now correctly handles SMTP server connections with and without password authentication. Updated the configuration descriptions and eliminated the duplicate SMTP username parameter. Emails are now originated from the customer entered e-mail address instead of the configured web site e-mail address. Deleted erroneous logic which removed user entered line spacing and added "()" around the entire body of the email.
Tested on a Linux 2.6 Apache 2.2.3 PHP 4.4.4-8 MySQL 5.0.32 server environment against Linux Iceweasel 2.0.0.3 and Window IE 6.0 browsers.
One minor bug reported (for a different contribution) and solved here:
http://forums.oscommerce.com/index.php?showtopic=265212#post-1089862
This all finally works properly in my install. So I am posting it here.
new file email.php
replace to admin and catalog
For use SMTP to oscommerce.
modify 2 file :
catalog/includes/classes/email.php
catalog/admin/includes/classes/email.php
new file :
catalog/includes/classes/class.smtp.php
catalog/admin/includes/classes/class.smtp.php
all setting are in the ADMIN - email setting
Just a minor change to the last contrib, hopefully this will make it clearer as to what sections of the two email.php files need editing...
Rather than using this smtp class, it is much easier (and reliable, in my experience) to use the mail::factory method as per...
http://forums.oscommerce.com/index.php?showtopic=144631
I have attached example email.php and some instructions, good luck, you can't imagine how much sleep this has cost me!!!!!
Updated Readme
If your email requires smtp authentication this will do the trick. this is not my contribution. Many thanks to the Original Author: chen binghua. I updated the readme and made it a lot clearer to implement.
Works with both 2.1 and 2.2
If you have not a sendmail or smtp server in php.ini, your smtp server must authentication , you can read this contributions, It can help you send email through the smtp server with your email user and password to authentication. smtp through the authentication smtp server
