Gossamer Forum
Home : Products : Gossamer Links : Discussions :

sendmail and GT::Mail

Quote Reply
sendmail and GT::Mail
Unsure I know this post does not fit 100% here but I
hope that someone here can help me since there
was no reply in the general cgi-forum. I have a
form and when I send it with sendmail or Mail::Mailer there are all breaks gone when I receive
the Message with MS-Outlook (which I do not like at all) When I send the mail with the GT::Mail there is a well formatted message. When I write the message to a text file with POP3Client.pm I see that the gossamer module produces =20 as a break at the end of the line and the others do not. It would be great if anyone could tell me how to use sendmail or anything else to get these breaks.

Ciao

Niko
Quote Reply
Re: [el noe] sendmail and GT::Mail In reply to
I'm not sure exactly, since this is an area of the Links program I have always avoided (we do not generally mail our members anything).

But, if you use an input box without any line breaks (soft formatting), then the sendmail program won't insert them. GT::Mail may insert line breaks, to keep lines within the standard 80 character format --- maybe?

You might be able to change this by changing your form to not automatically wrap text, and limiting the visible area to 60 or 80 columns. Users will have to manually start new lines, and that _should_ carry through into sendmail.

Just a thought.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] sendmail and GT::Mail In reply to
Hi Pugdog,

thank you very much for your reply.
Unfortunately I already have breaks and
most of the text comes from a .txt file which is
preformatted and opended by a perl script.
the content then is entered in a textarea and then sent. I guess that is just bad luck for me but thank you very much for your help. I appreciate your work in this forum very much.

Ciao

Niko
Quote Reply
Re: [el noe] sendmail and GT::Mail In reply to
What I don't understand, is I've never had trouble with sendmail. What goes in, comes out -- and that is the problem :) Trying to send binary, mime or other files required add ons, work arounds, and other fixes :)

MS Outlook has _real_ problems.

One of the biggest, is that it _requires_ a header type.

If you are not sending it a header that is specifying the type, it might be mis-reading it. This is more important with HTML than with text, but if a default of HTML is sent, then it's outlook that is stripping the end of lines, without warning. Maybe try sending a specific header that says:


Content-Type: text/plain
Mime-Version: 1.0


To force it to use text, not HTML....???

Just a thought. I really banged my head over this stuff when I started with the postcards 2 years ago, and never would have caught it if I didn't have MS Outlook on the other machine I was using to view the cards. It was only because I had not installed eudora, that I noticed it.

MS Outlook is a _bad_ thing. Most viruses enter your computer via that route -- attachments that are opened, then run.





PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] sendmail and GT::Mail In reply to
I guess you are right. I copied the header that
was produced by GT::Mail and sent the mail with
sendmail (including mime and content-type)
Content-type: text/plain
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0
and it still does not work.
I did not like microsoft and I dislike it more every day. Time to start with Linux!!
At the Systems (IT-Fare in Munich) there is a big Microsoft area with its own map. Somebody placed a Penguin-Sticker on the map. Smile

Thanks

Niko

Last edited by:

el noe: Oct 17, 2001, 1:50 PM