[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Can't get sendmail to put subject right...



On Wed, Jul 26, 2000 at 06:52:53AM +0200, Thomas De Groote wrote:
> 
> Thank you guys !
> 
> I indeed read all those dest[0]'s from a file, and such the \n character
> is in the end.
> Solved it by removing the extra \n in the end of the To-command. (I, for
> some reason, don't like that chomp command).

If you ever have a $dest[0] without a newline at the end, I hope you won't
have to ask the list why your headers are ending up on the same line...

You should chomp $dest[0] and print the newline explicitly.

Ronald

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org