Click here to get back home

sendmail won't send me email but will the person filling out form

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
sendmail won't send me email but will the person filling out form steveinmyrtle 11-05-2005
Get Chitika Premium
Posted by steveinmyrtle on November 5, 2005, 8:33 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
which email module - MIME::LITE, Email::Send, other? January 4, 2007, 5:52 pm
How do I tell sendmail where to send bounced mail? August 1, 2008, 7:42 am
Script to send file attachment with sendmail not working November 20, 2004, 7:53 pm
Trying to get sendmail to attach text file to email. November 14, 2004, 2:27 am
Send Email June 24, 2005, 11:57 am
Email::Send January 24, 2007, 2:51 pm
Using Email::Send::SMTP with authentication April 18, 2006, 10:46 am
what is the simplest way to send out email with SMTP authentication August 11, 2004, 10:36 pm
How do i send email as HTML format using Net::SMTP_auth March 22, 2005, 8:34 pm
MIME::Lite send one email in for loop October 1, 2005, 9:46 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap