Menu

#289 Email Headers?

Reproducible
closed-fixed
Other (69)
5
2005-07-06
2005-06-27
russelldav
No

My NOCC installation seem sto be working fine except
that the following is always at the top of emails I send
from the program:

charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Message-Id: <E1DmEUn-0000fj-00@*********.co.uk>
X-Relay-IP: 212.67.202.198
X-SPF-Debug: implemented=no,result=pass
X-Spam-Score: 0 ()
X-Tracking-ID: j5PHUtYh018085
X-Scanned-By: MIMEDefang 2.45

Also, the line breaks seem to be doubled up. My clrf
setting uses the double quotes ("\r\n").

Any idea how I can stop the headers being attached to
the top of each email that is sent? And for a bonus
point, sort the double line spacing?

Thanks,

Russell

Discussion

  • Anonymous

    Anonymous - 2005-06-27

    Logged In: YES
    user_id=529507

    Did you try with "\n" instead of "\r\n" ? Some MTA (i.e. qmail) prefer the first
    line break.

     
  • russelldav

    russelldav - 2005-06-28

    Logged In: YES
    user_id=1303629

    Using "\n" instead of "\r\n" solves the headers problem - they
    no longer appear in messages, however the messages still
    seem to have double line spacing. If I try just "\r" then the
    emails arn't sent at all.

     
  • Anonymous

    Anonymous - 2005-06-28

    Logged In: YES
    user_id=529507

    OK about header issue.

    About double line spacing : it seems your browser use "\r\n"
    for textarea input, so your MTA add it's own "\n", then the
    final mail has two line breaks : one "\r\n" and one "\n"

     
  • russelldav

    russelldav - 2005-06-28

    Logged In: YES
    user_id=1303629

    That seems to make sense. How can I stop it?

    I'm using IE6 and Firefox and get the same problem with
    both?

    (I'm reading the sent emails in MS Outlook by the way)

     
  • Anonymous

    Anonymous - 2005-06-28

    Logged In: YES
    user_id=529507

    Have you the possibility to setup your MTA to use "\r\n"
    (the RFC way) instead of "\n" ?

    The other possibility is to add a configuration option to
    Nocc in order to replace "\r\n" to "\n" for outgoing mails,
    but it will be in a future version of NOCC : we're fixing
    issues before 0.9.7 release, not adding new features.

     
  • russelldav

    russelldav - 2005-06-28

    Logged In: YES
    user_id=1303629

    I don't know what you mean by MTA so I guess the answer is
    no :P

    This feature and the extra lines in emails make the email very
    easy to read atleast! I'll be content until a future release!
    Keep up the excellent work!

     
  • Anonymous

    Anonymous - 2005-06-28
    • assigned_to: nobody --> goddess_skuld
     
  • Anonymous

    Anonymous - 2005-06-28

    Logged In: YES
    user_id=529507

    MTA is another name for the SMTP server.

     
  • Anonymous

    Anonymous - 2005-07-02

    Logged In: YES
    user_id=529507

    I may have a hint about the double line issue (i've just experienced the same
    one) : do you use a real smtp server for $conf->domains[$i]->smtp, or did you
    let it null in order to let Nocc use PHP's mail() function ?

    I've got the double line issue while using PHP's mail() function, but not while
    using a real SMTP server.

     
  • Anonymous

    Anonymous - 2005-07-06
    • status: open --> closed-fixed
     
  • Anonymous

    Anonymous - 2005-07-06

    Logged In: YES
    user_id=529507

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the bug report.

     

Log in to post a comment.

MongoDB Logo MongoDB