Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SMTP server response: 501 5.5.4 Invalid Address


Stan Hilliard

Recommended Posts

With no previous experience I set up a shopping cart today and tried to buy one of my products. The last step produced the following error:

Warning: mail(): SMTP server response: 501 5.5.4 Invalid Address in d:\inetpub\sites\www.samplingplans.com\web\cart\includes\classes\email.php on line 500

 

Warning: Cannot modify header information - headers already sent by (output started at d:\inetpub\sites\www.samplingplans.com\web\cart\includes\classes\email.php:500) in d:\inetpub\sites\www.samplingplans.com\web\cart\includes\functions\general.php on line 29

I will appreciate any guidance.

 

Stan Hilliard

Link to comment
Share on other sites

Stan Hilliard said:

With no previous experience I set up a shopping cart today and tried to buy one of my products. The last step produced the following error:

Warning: mail(): SMTP server response: 501 5.5.4 Invalid Address in d:\inetpub\sites\www.samplingplans.com\web\cart\includes\classes\email.php on line 500

 

Warning: Cannot modify header information - headers already sent by (output started at d:\inetpub\sites\www.samplingplans.com\web\cart\includes\classes\email.php:500) in d:\inetpub\sites\www.samplingplans.com\web\cart\includes\functions\general.php on line 29

I will appreciate any guidance.

Stan Hilliard

 

You need to uncomment and change these two settings in php.ini

 

[mail function]

; For Win32 only.

SMTP = smtp.myserver.com

 

; For Win32 only.

sendmail_from = [email protected]

I cannot find php.ini. Where is it?

Also, which outgoing email does that error apply to?

This in spite of the error, I received two emails to myself (as customer) as a result of my test purchase.

 

First email to customer:

Dear Stan

 

We welcome you to Shopping Cart for SamplingPlans.com.

 

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: [email protected].

 

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 [email protected].

I do not know whether this second email is to me as the customer or as the merchant?

Second email:

Shopping Cart for SamplingPlans.com

------------------------------------------------------

Order Number: 1

Detailed Invoice: http://www.samplingplans.com/cart/account_....php?order_id=1

Date Ordered: Thursday 01 April, 2004

 

Products

------------------------------------------------------

1 x TPZero v3.0 -- Tool for Ac=0 Sampling Plans () = $50.00

------------------------------------------------------

Sub-Total: $50.00

Flat Rate (Best Way): $10.00

MN TAX 6.5%: $3.25

Total: $63.25

 

Delivery Address

------------------------------------------------------

H & H Servicco corp.

Stan Hilliard

PO Box 9340

North St Paul, MN    55109

United States

 

Billing Address

------------------------------------------------------

H & H Servicco corp.

Stan Hilliard

PO Box 9340

North St Paul, MN    55109

United States

 

Payment Method

------------------------------------------------------

Credit Card

I will appreciate any further in diagnosing the error message.

 

Stan Hilliard

Link to comment
Share on other sites

I think you will need to ask your hosting company to fix your php.ini

 

Both were to the customer so you need to put your order admin email in the extra email field to get a copy.

Thanks. I have sent an email to my hosting company about the problem.

 

Where is the "extra mail field" for adding my order admin email?

 

Stan Hilliard

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...