Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

SMTP Authentication


Recommended Posts

Happy Thanksgiving to those celebrating it.


Here's the problem. I'm having trouble sending mail to some clients. I think it has something to do with the email headers. See below. I installed the smtp contribution.


First Question:

During install when I get to


should that be my site name (mysite.com) or my hosting company?


Second Question: Shouldn't my return path be my address I'm sending from?


Final Question:

I think the part of the header that is "Received: from unknown (HELO mail.opentransfer.com) (

by mail3.opentransfer.com with SMTP; 25 Nov 2004 04:37:12 -0000" is blocking the email from certain clients. Is this because of the line "Received From Uknown" ???


The email header is as follows:


Return-Path: <[email protected]>

Delivered-To: [email protected]

Received: (qmail 10898 invoked from network); 25 Nov 2004 04:37:15 -0000

Received: from unknown (HELO mail.opentransfer.com) (

by mail3.opentransfer.com with SMTP; 25 Nov 2004 04:37:12 -0000

Received: (qmail 28559 invoked from network); 25 Nov 2004 18:30:30 -0000

Received: from unknown (HELO mail2.opentransfer.com) (

by mailout.opentransfer.com with SMTP; 25 Nov 2004 18:30:30 -0000

Received: (qmail 22527 invoked from network); 25 Nov 2004 04:36:00 -0000

Received: from unknown (HELO web30.opentransfer.com) (

by mail2.opentransfer.com with SMTP; 25 Nov 2004 04:36:00 -0000

Received: (from httpd@localhost)

by web30.opentransfer.com (8.11.6/8.11.6) id iAP4Oxs20138;

Wed, 24 Nov 2004 22:24:59 -0600

Date: Wed, 24 Nov 2004 22:24:59 -0600

Message-Id: <[email protected]>

To: "Joseph Kolasinski" <[email protected]>

Subject: test with smtp auth

From: [email protected]

MIME-Version: 1.0

X-Mailer: osCommerce

Content-Type: text/plain; charset="iso-8859-1"

Content-Transfer-Encoding: 7bit



This little problem has been holding me up for about a week now. I 'm just about ready to give up.


Thanks for any help,


Joseph :angry:

Link to comment
Share on other sites

Hi Joseph,


I'm right there with you. I installed the smtp contrib, then had to back it out when NONE of the emailing worked. I chatted with my host and they indicated to me that there was no need for me to perform SMTP authentication as the hosting server was setup to take care of that already (?).


Anyway, as I look over my configure.php, I see that I'm using

define('HTTP_SERVER', 'http://www.mysite.com');


Later on I see I referenced the database server (same thing) by it's ip address...

define('DB_SERVER', '216.123.456.789');

Whatever, it works.


My only problem... and I think you've hit it on the head... is the email headers.

Here's what my host guys said...

If it's using the mail() function, you don't have to specify an SMTP, since it's a



Regarding the "spam" flag, it's likely due to not having the correct headers.? Does

the spam flag give you any indication of why it was triggered?


By the way, the only emails that aren't working at this point are the ones I create in the admin>tools section... that is the "send email" and "newsletters' forms.


When I say not working, I mean that although the emails do indeed get sent and are received... they are received directly into junk. Hmmm. Like you said, probably because of the "Unknown" sender.


Too bad... almost there though. If I get a break-through with my hosts, I will post it.



Edited by LMK
Link to comment
Share on other sites

  • 2 years later...

seems likely that its blocked cuz you are using opentransfer.com they are often black listed as they are notorious for letting spammers use their services. my advice is get rid of them

......though this is an old post...i imagine you had it sorted ages ago

currently using OSC2.2MS2 051113 with the following contributions:


AJAX Attributemanager 2.1 - All_products 4.4 - Banner manager 1.5b - banner hack picture in manager * description in product listing hack ms2 v2.4 * drop shadow boxes v.1.1 * Easy populater 2.76d-ms2 by surfalot * FCKEditor * header tag controller v2.5.9 * jcssmenu * LoginBox 5.6 * option type feature v1.71 * OSC-Cach-v1.1 * popup_imagecleaned_stilized_2 * Remove from cart button hack * scrolling bestsellers * Article manager1.4 * Links Manager v1.14. * proffessional invoice&packingslip 6.1 * Ultimate SEO URLs

Personaly i think all these features NEED to be in the main core as they are quite basic features that are missing. but then again what do i know?

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.

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...