Re: imap mail() problems
| From: | Mario Soto | Date: | Tue, 08 Apr 2003 09:29:36 +0000 |
| Subject: | Re: imap mail() problems | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143226@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Jason Wong" <php-general@gremlins.biz>
To: <php-general@lists.php.net>
Sent: Friday, April 04, 2003 4:11 PM
Subject: Re: [PHP] imap mail() problems
> On Saturday 05 April 2003 01:04, Mario Soto wrote:
>
> > Try first to take off the \r char on the string. It worked very good for me
> > using only the \n to send more headers.
>
> Headers *should* be delimited by "\r\n" ...
Ok, your're right. The delimiters for all the lines on all the mail message sould be \r\n
(ASCII #13,#10)...
>
> > Other is to put the address into
> > angle bracets (<user@host.domain>) and in this way you can use a name on
> > the server (read some rfc's, it will be helpful if you're using email often
> > in php programs; begin reading the 822).
>
> ... just like it says in RFC 822 !
>
... just like is says in rfc 822, but it worked to me fine just putting \n and getting \r\n into the
message. Maybe because I'm using a mswindows system. I asked a friend that uses Linux and he
says that in some versions (or rebuilds) it might work in this way. Belive no one until you have
tried and it worked fine, or as he/she said.
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> QOTD:
> "There may be no excuse for laziness, but I'm sure looking."
> */
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
The thing is try. Is not hard work taking off two chars from a string, and maybe getting the wanted
output. Remember that you have to take off all the posibilities to solve a problem. This is just an
observation and it might work for someone, maybe with an mswindows enviroment just like me. Your
message is right and you're right about the rfc822 says.
Gretings.
---------------------------------------------------------
Einstein once says: "Computers are fast and precise but stupid. The human are slow and
unprecise but intelligent. Together they can go beyond our inmagination"
Don't belive me that it was Einstein who says that, but no one can deny that is a nice quote.
---------------------------------------------------------
Mario Soto
mario_s@amigo.net.gt
-.-.-.-