No, nothing is misconfigured on this machine.  The problem is the firewall
and the nameserver.  So, the easy workaround to it is to use the MS-Exchange
on Window.  Sendmail on Unix still doesn't allow me to use more stuffs, so I
had to use MS-Exchange.  Sendmail is not the right kind of email service to
use, so I can't use it.

By the way, Found a nice open-source script at www.phpclasses.org that would
allow me to connect to MS-Exchange.  Very nice, I'm going to use this.
Thanks!!!

Thanks,
 Scott F.

"Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tuesday 11 February 2003 02:19 pm, Scott Fletcher wrote:
> Someone send me an email to take a look at this
> URL....http://www.php.net/manual/fi/ref.imap.php .
>
> The send mail on Unix is too basic, not like MS-Exchange...  I need things
> like file attachment, Bcc, cc, etc....

All of those can be done with sendmail. Bcc and cc can be done with just
adding extra header. In the php mail() function, it's the last argument
IIRC.

There are a lot of classes out there that will allow you to put attachment
using the mail() function. Basically you only need the correct MIME-encoding
and stuff. Read the manual for mail() again in php.net, or google for php
mail attachment.
You have to do it the same way to even in Windoze machine. It's not because
of
"sendmail on Unix is too basic".

If you still want to use Windoze smtp server for sending your mail, then I
think you need to open a socket connection to the machine running smtp. In
my
opinion, this complicates stuff that can be done easier, but you can look
here:
http://www.php.net/manual/en/function.fsockopen.php.

There is even an example by some user contributed notes on how to do that.

> Also, it is too slow because the
> machine have problem with DNS while many Windows doesn't have this
problem.

hmm.. that sounds like something misconfigured in the machine, maybe??

Hope that helps.
--RDB


> Thanks for the link to www.phpclasses.org .  Will look into it.
>
> Scott F.
>
> "Jason Wong" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> > On Wednesday 12 February 2003 02:12, Scott Fletcher wrote:
> > > The webserver is a Unix machine.  I don't want to send the email from
>
> the
>
> > > Unix machine, I want to do that from Window.  So, if I configure hte
> > > php.ini to find the MS-Exchange on Window and use it to send the email
> > > while the webpage is on the Unix webserver, such as form fill out and
>
> click
>
> > > the send button.
> > >
> > > Have anyone try this and does it work?  Anyone struggle with it??  I'm
> > > going to go ahead and do it.
> >
> > It wouldn't work. On Unix, mail() uses the sendmail binary and ignores
> > any SMTP setting. You can get yourself a mail class from
> > www.phpclasses.org
>
> which
>
> > can use SMTP regardless of whether you're on Unix or Windows.
> >
> > Anyway, what is the reason for using an external mailserver?
> >
> > --
> > 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
> > ------------------------------------------
> > /*
> > Mausoleum:  The final and funniest folly of the rich.
> > -- Ambrose Bierce
> > */

--
-------------------------------------------------
/"\  ASCII Ribbon Campaign against HTML
\ /  email and proprietary format
 X   attachments.
/ \
-------------------------------------------------
Have you been used by Microsoft today?
Choose your life. Choose freedom.
Choose LINUX.
-------------------------------------------------



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

Reply via email to