Efficient and affordable software for Macintosh - Maker of MaxBulk Mailer, eMail extractor, eMail Checker, e-Mail Bounce Handler

Home

Products

Downloads

News

Store

Support

Forums

Forums

It is currently Sun May 19, 2013 3:48 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Header problem on LAMP + Postfix
PostPosted: Wed May 16, 2012 9:11 pm 
Offline

Joined: Wed May 16, 2012 8:28 pm
Posts: 4
Hi

i have currently a header problem on the mail a user receive when subscribing.

It look like this:

--header--
Microsoft Mail Internet Headers Version 2.0
Received: from intranet.domain.com ([192.168.*.*]) by server.domain.com with Microsoft SMTPSVC(6.0.3790.4675);
Wed, 16 May 2012 12:26:26 -0400
Received: by intranet.domain.com (Postfix, from userid 33)
id 039DF7FB37; Wed, 16 May 2012 12:26:57 -0400 (EDT)
To: me@domain.com
Subject: Votre demande d'inscription
Message-ID: <5C186627-9FD1-0F01-AF77-7A7B12A026CF@domain.com>
--header--

Then i receive in the mail body:


Mime-Version: 1.0

From: "My Name" <webmaster@domain.com>

Date: Wed, 16 May 2012 12:26:57 -0400

X-Mailer: PHP/5.3.2-1ubuntu4.7

Content-Type: text/plain; charset=utf-8; Format=flowed

Content-Transfer-Encoding: 8bit
Return-Path: webmaster@domain.com
X-OriginalArrivalTime: 16 May 2012 16:26:26.0070 (UTC) FILETIME=[A3CF1360:01CD3380]

It seem a problem with the line break/end of line in the script.

I have read a little bit about this and if i'm correct, it can happen when the line is too long or when the line return is incorect for the OS. (Linux and windows use different line break)

PHP recommend using PHP_EOL but i dont know what file to modify and how. Does someone have an idea ?

(sorry for the engrish, not my first language)


Top
 Profile E-mail  
 
 Post subject: Re: Header problem on LAMP + Postfix
PostPosted: Thu May 17, 2012 7:43 am 
Offline
Site Admin
User avatar

Joined: Wed Dec 28, 2005 9:13 pm
Posts: 6732
Our script uses the standard PHP command mail(). IT is rock solid since in 5 years it is the first time I heard about such problem :-/


Top
 Profile E-mail  
 
 Post subject: Re: Header problem on LAMP + Postfix
PostPosted: Thu May 17, 2012 3:44 pm 
Offline

Joined: Wed May 16, 2012 8:28 pm
Posts: 4
it seem my mail is sended in UTF-8 and there is 2 line commented in the script.


//$subject = utf8_encode( $subject );
//$message = utf8_encode( $message );


does it have to be used? i have some special character problem in the mail also.


Top
 Profile E-mail  
 
 Post subject: Re: Header problem on LAMP + Postfix
PostPosted: Thu May 17, 2012 3:54 pm 
Offline

Joined: Wed May 16, 2012 8:28 pm
Posts: 4
ok its working now


i changed every \r\n for only \n and it work perfectly.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Home

Products

Downloads

News

Store

Support

Forums


Maxprog ® - MAX Programming, LLC - © 2001-2006 - All Rights reserved
Company Info | Site Map | Legal Notice | Privacy Policy | Jobs