网址: http://www.oscommerce.com/
安装之后,默认邮件地址 osCommerce <root@localhost>,注册一个客户,发了确认信,显示发件人未知。信中邮箱地址也是留空。
信内容如下:
Dear xxx,
We welcome you to MAYA STORE.
You can now take part in the various services we have to offer you. Some of these services include:
Permanent Cart - Any products added to your online cart remain there until you remove them, or check them out.
Address Book - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.
Order History - View your history of purchases that you have made with us.
Products Reviews - Share your opinions on products with our other customers.
For help with any of our online services, please email the store-owner: .
Note: This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to .
感觉Permanent Cart感觉不够好,一定时间不付款应该关闭交易。
osCommerce的E-Mail Transport Method 有两个选项:
Defines if this server uses a local connection to sendmail or uses an SMTP connection via TCP/IP. Servers running on Windows and MacOS should change this setting to SMTP.
摘抄 Simple Mail Transfer Protocol一段
Simple Mail Transfer Protocol (SMTP) is an Internet standard for electronic mail (e-mail) transmission across Internet Protocol (IP) networks. SMTP was first defined in RFC 821 (STD 15) (1982),[1] and last updated by RFC 5321 (2008)[2] which includes the extended SMTP (ESMTP) additions, and is the protocol in widespread use today. SMTP is specified for outgoing mail transport and uses TCP port 25.
While electronic mail servers and other mail transfer agents use SMTP to send and receive mail messages, user-level client mail applications typically only use SMTP for sending messages to a mail server for relaying. For receiving messages, client applications usually use either the Post Office Protocol (POP) or the Internet Message Access Protocol (IMAP) or a proprietary system (such as Microsoft Exchange or Lotus Notes/Domino) to access their mail box accounts on a mail server.
XAMPP装的是Mercury Mail。总目录下有个sendmail目录。不知道相互之间、以及和上面的sendmail什么关系,不过,能发邮件就可以了,以后再仔细看。
Warning: mail() [function.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 C:\xampp\htdocs\oscommerce\catalog\includes\classes\email.php on line 522
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\oscommerce\catalog\includes\classes\email.php:522) in C:\xampp\htdocs\oscommerce\catalog\includes\functions\general.php on line 33
还有函数eregi()、eregi_replace()也出警告,be deprecated. 加了@在前面,暂时平安无事。
这个是讨论支付方式的帖子,很有用:
http://forums.oscommerce.com/topic/261326-credit-card-payment-options/