Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Emails have incorrect sender address


lazna

Recommended Posts

oscommerce sending mails out via SMTP by phpmailer module. Mail address in packet (captured by wireshark) is:

 

<"company name"<email@@address>>

 

in smtp server log doublequotes are stripped:

 

<company name<email@@address>>

 

but the SMTP server refusing to send mails with error 503 "sender address missing".

 

In database is "mailbox@@host.com" only (without doublequotes), where the prefix is added?

 

 

I am new in both oscommerce/php so please be patient with me...

 

L.

 

Link to comment
Share on other sites

I don't think I've ever seen an address in that format. Try just company name <email@@address> (drop the outer < >, and I think you can omit the " " too). Are these addresses you have entered in this format, or is osC putting them together in that format?

Link to comment
Share on other sites

Solved. There was string:

 

"%store_owner_name%" <email@@address>

 

in "Configuration" -> "MyStore" -> "E-mail from" field. Have doubts osCommerce assemble this string itself by instalation or initial configuration. After deleting everything but email address, it sending mails OK.

 

BTW: There was not outer <> in original configuration, only store_owner_name enclosed in doublequotes. Could the problem arise because doublequotes is special character on windows platform?

Edited by lazna
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...