Using Mail on a different server

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

'lo,

I recently downloaded this script for use on my website. For the most part, its nice and easy, which I appreciate (I've yet to play with the catalog features . . . not willing to redo my website that much yet.) But, as I've read through the other messages here, I may not have too. =)

Anyway, my question is, due to the nature of my arrangement for server space, I can host most of my files on one server (and one url) but all the scripting has to be on another server. So far, this works *perfectly*, except for one problem. The sendmail feature.

The server where the site is does not have sendmail capabilities, but the one that has the script does (ok, its not quite sendmail, but it works just the same). Is there anyway I can point the mail portion of the script to a different server?

Here's a snippit of what I've tried and it doesn't work, it just returns me to the review screen.

# The path to sendmail (or whatever mail system you use) on your system. # If you have no clue, ask your sysadmin. $mailprog = 'http://www.thetoyboxxx.com/var/qmail/bin/qmail-inject';

The /var/qmail/bin/qmail-inject' path is exactly what it uses, and I thought maybe I could make it direct to the url where I have mail capabilities.

BTW, if you are interested in seeing how/what I have up now, feel free to check it out at www.thetoyboxxx.com. **Be forewarned** it's a site where I sell adult videos and adult comics, so if you're offended by that sort of stuff, I apologize in advance and don't visit it. =)

The only items that have a listing so far is the amateur section under videos.

Thank you for your help. And this really is a great script/program! (If only I could tell me that I made a sale. . .

TIA, Pete Jr.

-- Pete Jr (petejr@bmccomp.com), July 13, 1999

Answers

Hi,

It looks like you are using hypermart for your server. The way you have your "$mailprog" will not work because the mail program is in hypermart's directory not yours.

# The path to sendmail (or whatever mail system you use) on your system. # If you have no clue, ask your sysadmin. $mailprog = 'http://www.thetoyboxxx.com/var/qmail/bin/qmail-inject';

You can down load your own sendmail program and place it in your directory. Does someone have the URL for sendmail?

Jim

-- James L. Farmer (jim@team-blankets.com), July 15, 1999.


Moderation questions? read the FAQ