Closed Thread Icon

Topic awaiting preservation: send mail problems with CGI (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12717" title="Pages that link to Topic awaiting preservation: send mail problems with CGI (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: send mail problems with CGI <span class="small">(Page 1 of 1)</span>\

 
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-06-2003 15:47

Hi all. I have a strange problem. A breif description:

The company that I work for has a split domain. The web server is at one location and the mail server is at a totally different location. The server that handles the web side also has a mail server which we don't use. I need to figure out how to allow the mail server to get the mail to our web server.

Does that make sense? I am doing this over the phone, so it is really difficult for me to explain really. They want me to do this project but wont allow me to have access to the servers (power trip I'm sure)

I am using Big Nose Bird's email CGI, if you know what that is.

Thanks for any help. I will give more info if need, which I probably will have to.

Later,

C:\


~Binary is best~

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 05-06-2003 16:18

Hiya C:\,

Two options come to mind at first glance. First, and probably the most difficult, is to set up a Mail Transfer Agent (MTA) on the web server to grab the mail from the mail server. Unfortunately, that's about the extent of my knowledge of MTA's You'll have to google for more info.

The second option, which would be the easiest to implement, is to use a POP module from CPAN in your script to grab the mail when you need it. You can also use a SMTP module to send mail as needed.

If you find other solutions, please post details. I'd be interested to see how you resolve this problem.

~Charlie

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-06-2003 17:46

Thanks for your help Piper. You're always there when I have these crazy server side things!

Anyway, the problem that I mostly have is that the won't let me near the server. So I am having to go through someone that I don't think knows exactly what is going on. Now he tells me that the POP server is on the same machine as the web server.

There is a big problem with the site and how things are set up. I thought I was clear on it but I guess not. It's starting to get on my nerves and I am just going to let him figure it out.

I may have to end up having the information, instead of being sent email, to be sent to a flat file folder. All it is, is customer info stuff anyway.

Thanks for your help and I will let you know what comes of this.

Later,

C:\


~Binary is best~

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 05-06-2003 18:21

An SMTP module will work if all you need to do is send mail. You can probably just download one of the SMTP modules from CPAN and include it with your script without having to compile something or depend on a Sys Admin to install it. If they won't let you have access to the server, even that might not be easy. Do they want you to code the app and send it to them or will they at least give you FTP access?

quote:
So I am having to go through someone that I don't think knows exactly what is going on.


I've been there before and I don't envy you Good luck!

~Charlie

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-06-2003 19:34

Piper:

Acording to them they can't even to SMTP because the webserver won't handle it right. Not sure what the hell that is supposed to mean. FTP access?? Hell, that's all I wanted and NOPE! So, I am now in the process of just writing a script that will send the data submitted from the form to a flat text file.

That might be the only way that I am going to get this to work and not really have to worry about the whole mail thing.

Hell, this isn't even my job. I'm a sales rep for this stinking company Anyway, thanks for the tip. I am going to try a couple more things and if that doesn't do it then it's off to flat files for them. Don't mean to rant but this is really annoying.

Take care.

Later,

C:\


~Binary is best~

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 05-06-2003 19:42

Tell them you'll make a static HTML page with their mainling address on it so their customers can mail their requests in That's damn near all you're going to be able to do!

~Charlie

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-07-2003 04:19

LOL! Yep, that's about the point that I'm at. I almost have a PHP script that will just write the info to a flat file and then you can view it HTML or just grab it off the server.

Can't do much else. Thanks for your help.

Later,

C:\


~Binary is best~

« BackwardsOnwards »

Show Forum Drop Down Menu