Re: [cgiwrap-users] Sending email using perl scripts.
Brought to you by:
nneul
From: David D. <dav...@ol...> - 2001-10-03 18:30:18
|
I apologize for sending the attachments. I too am skeptical about attachments from people I do not know. I believe my problem is not with sendmail, but with cgiwrap. All of the emails are delivered. If the email does not have a period in the name, the browser returns "Thank you for your CD-ROM catalog request. You will receive a conformation by e-mail". If there is a period in the name the browser returns "Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request". But as I said the emails are being sent. I will try the suggestion of writing the email to a file first. Thank you all again for your help. David The following message was sent by Joe Hourcle <on...@dc...> on Wed, 3 Oct 2001 13:44:14 -0400 (EDT). > > > On Wed, 3 Oct 2001, David DelBiondo wrote: > > > My emails are being sent. The problem is the response to the web > > browser. If the name on the email has a period in it > > (som...@so...) a script error is produced. If the email > > does not have a period in it, the response page is displayed. I > > attached two gifs showing what happens (if they made it through). > > The error log has a malformed header error logged by cgiwrap. Thank > > you for the help. > > Sorry, but I havea strict policy against attachments from people I don't > know. [Well, even from people I do know]. > > Anyway, I don't know exactly what the error message is in the images, but > I would suggest changing the open() call to write out to a file, and then > trying the call to sendmail by hand: > > cat msgfile | sendmail -t > > (where 'msgfile' is whatever name you write it out to). > > This will ensure that you get whatever error sendmail's trying to throw. > [There may be some bad address matching call, etc, that's corrupting the > address before writing to sendmail, or any one of a number of problems > which could cause sendmail to crap out] > > ----- > Joe Hourcle > > |