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.
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.
> 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.
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.
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. :)
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.
> 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. :)
> 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?
> 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.
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!
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?
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.