Re: [cgiwrap-users] Sending email using perl scripts.
Brought to you by:
nneul
From: Joe H. <on...@dc...> - 2001-10-03 17:44:33
|
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 |