GetDotted Domains

Viewing Thread:
"Email Confusion..."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 10/05/07 at 17:02
Regular
Posts: 9
Ok, I hope somebody can help me, I'm deeply confused.

I'm running an online store using Freeola and OSCommerce. The site's up and running fine and my orders are coming in no problem.

However, any order emails created from the site are not getting through.

I've been reading a lot of this Web To Form stuff on these forums but I guessed these are just to do with people using a kind of 'contact us' page.

Is there any way at all to have my website be able to send order confirmation emails to my customers or have Freeola put a block to this?

Any help would be much appreciated.
Fri 11/05/07 at 18:32
Regular
"Devil in disguise"
Posts: 3,151
dazzybabe wrote:
> OsCommerce will now send emails to Freeola-related emails only.
> Is this it's limit or should it be able to send to all email
> addresses?

Well as I understand things, you can still send emails to ANY address. The restriction they've got in place now is that the FROM field must contain a freeola hosted email address and scripts using mail functionality must be modifed with the parameter I showed you in my previous post.
I would guess that if its sending to a Freeola-related email address still then it probably doesnt care about the above restrictions if the TO field contains a valid freeola address.
Fri 11/05/07 at 17:57
Regular
Posts: 9
Hi Garin,

Thankyou SO much!

I'm now beginning to get somewhere.

OsCommerce will now send emails to Freeola-related emails only. Is this it's limit or should it be able to send to all email addresses?

Cheers once again.
Fri 11/05/07 at 14:38
Regular
"Devil in disguise"
Posts: 3,151
Firstly, make sure that the email addresses you use in the from fields are freeola hosted addresses.

But it looks to me like you need to do the following..

The code block at around line 520 in those files should look like

if (EMAIL_TRANSPORT == 'smtp') {
return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers),"-f $from_addr");
} else {
return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers),"-f $from_addr");
}
The bits in bold are what I've added.
Simply at the end of each call to mail you have to add an extra parameter. This needs changing in both the email.php files I mentioned. Unfortunately oscommerce is already passing alot of stuff into it so I cannot guarantee this will work as intended. So be sure you backup the files before you make any changes and try this. :)
Fri 11/05/07 at 14:06
Regular
Posts: 9
Cheers for this help Garin.

OsCommerce's source code in the .php files you specified don't look anything like what Freeola recommends I use.

Why do they have to be so awkward and not allow email from web automatically like most normal ISPs? The spam excuse is pathetic.

I'm going to ask about on the OsCommerce forums, I've tried Freeola Telephone Support but that all seems pointless, they don't even know what I'm talking about.

But thanks for your help Garin, it's much appreciated.

If you have any other ideas/suggestions, then PLEASE let me know.

Your pal, Daz.
Fri 11/05/07 at 13:37
Regular
"Devil in disguise"
Posts: 3,151
dazzybabe wrote:
> So is the FORM TO EMAIL code the same as sending out automated
> emails?

Erm...kind of.
I'm assuming your problem is that Freeola now require you to pass an extra parameter when using PHP's sendmail function. Naturally third-party packages such as Oscommerce lack this. So you'll need to add it yourself. In oscommerce there are 2 copies of an email class, they are includes/classes/email.php and admin/includes/classes/email.php. They are identical files, but both need changing. The lines you need to change are at around 520. I hope you're familiar with PHP though otherwise you might find this a bit daunting. And I'm a bit hestitant to provide further explanation given I dont use Oscommerce, or even Freeola for that matter so I cannot be 100% certain I'm telling you the correct thing. :)
Fri 11/05/07 at 11:05
Regular
Posts: 9
Garin wrote:
> There is, but you'll need to modify the part of oscommerce that
> sends out the email to include the change that Freeola mention
> in their form to mail support pages.

Thankyou...

So is the FORM TO EMAIL code the same as sending out automated emails?
Thu 10/05/07 at 22:10
Regular
"Devil in disguise"
Posts: 3,151
dazzybabe wrote:
> So there's no way at all that I can allow automated emails to be
> sent to my customers from my website?

There is, but you'll need to modify the part of oscommerce that sends out the email to include the change that Freeola mention in their form to mail support pages.
Thu 10/05/07 at 21:43
Regular
Posts: 9
Hi and thankyou for the response :)

We're currently not using any payment processor as such because we're trying to obtain a merchant account. We tried PayPal but they suspended our account, despite us having sent them all the relevant paperwork/documentation.

So there's no way at all that I can allow automated emails to be sent to my customers from my website?

Cheers!
Thu 10/05/07 at 18:11
Moderator
"Are you sure?"
Posts: 5,000
Hello,
As far as I know, I believe the recent(ish) changes affect anything that uses Freeola 'sendmail' function.

So it doesn't matter if it's a contact form or OSCommerce calling the function, the same rules apply.


Glad to hear your site's getting orders. What payment processor are you using?
Thu 10/05/07 at 17:02
Regular
Posts: 9
Ok, I hope somebody can help me, I'm deeply confused.

I'm running an online store using Freeola and OSCommerce. The site's up and running fine and my orders are coming in no problem.

However, any order emails created from the site are not getting through.

I've been reading a lot of this Web To Form stuff on these forums but I guessed these are just to do with people using a kind of 'contact us' page.

Is there any way at all to have my website be able to send order confirmation emails to my customers or have Freeola put a block to this?

Any help would be much appreciated.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Brilliant service.
Love it, love it, love it!
Christopher
I've been with Freeola for 14 years...
I've been with Freeola for 14 years now, and in that time you have proven time and time again to be a top-ranking internet service provider and unbeatable hosting service. Thank you.
Anthony

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.