RE: [PHP-DB] Re: Email Application

2003-09-26 Thread Jeremy Shovan
Try this 

function send_html_mail($myname, $myemail, $contactname, $contactemail,
$subject, $message) {
  $headers = "MIME-Version: 1.0\n";
  $headers .= "Content-type: text/html; charset=iso-8859-1\n";
  $headers .= "X-Priority: 3\n";
  $headers .= "X-MSMail-Priority: Normal\n";
  $headers .= "X-Mailer: PHP/"."MIME-Version: 1.0\n";
  $headers .= "From: $myname <$myemail>\n";
  return(mail("$contactname <$contactemail>", "$subject",
"$message","$headers"));
}

-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 25, 2003 6:16 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Re: Email Application

From: <[EMAIL PROTECTED]>

> I am not so new in PHP but I have a problem.
> I am trying to create a webmail program for my penpal
> site. I cant retrieve and desplay e-mails from my mail
> server. Any one with ideas?

I have an idea.

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Re: Email Application

2003-09-25 Thread CPT John W. Holmes
From: <[EMAIL PROTECTED]>

> I am not so new in PHP but I have a problem.
> I am trying to create a webmail program for my penpal
> site. I cant retrieve and desplay e-mails from my mail
> server. Any one with ideas?

I have an idea.

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Re: Email Application

2003-09-25 Thread George Patterson
On Thu, 25 Sep 2003 00:42:21 +0300
[EMAIL PROTECTED] wrote:

> Hey Guys,
> 
> I am not so new in PHP but I have a problem.
> I am trying to create a webmail program for my penpal
> site. I cant retrieve and desplay e-mails from my mail
> server. Any one with ideas?
> 

Unless you are trying to achive something different from the other open
source webmail packages, why re-invent the wheel?? 

I suggest that you find something that is close to what you want and
modify from there.

I'd suggest using IMp is for the mail server supports it.


George Patterson

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Re: Email Application

2003-09-25 Thread Ignatius Reilly
If your mail server supports IMAP, you should use the PHP IMAP functions.
Very convenient.

Ignatius
_
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 11:42 PM
Subject: [PHP-DB] Re: Email Application


> Hey Guys,
>
> I am not so new in PHP but I have a problem.
> I am trying to create a webmail program for my penpal
> site. I cant retrieve and desplay e-mails from my mail
> server. Any one with ideas?
>
> Regards,
>
> ~ Charles
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Re: Email Application

2003-09-25 Thread Jason Wong
On Thursday 25 September 2003 05:42, [EMAIL PROTECTED] wrote:

> I am not so new in PHP but I have a problem.
> I am trying to create a webmail program for my penpal
> site. I cant retrieve and desplay e-mails from my mail
> server. Any one with ideas?

With the limited amount of information give, I would say there is something 
wrong with your code.

-- 
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-db
--
/*
Marriage is the waste-paper basket of the emotions.
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: Email Application

2003-09-25 Thread mutie
Hey Guys,

I am not so new in PHP but I have a problem.
I am trying to create a webmail program for my penpal
site. I cant retrieve and desplay e-mails from my mail
server. Any one with ideas?

Regards,

~ Charles

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php