RE: [Exim] PHP Form to send emails with Exim

Góra strony
Delete this message
Reply to this message
Autor: Rick Cooper
Data:  
Dla: exim-users
Nowe tematy: OT Re: [Exim] PHP Form to send emails with Exim
Temat: RE: [Exim] PHP Form to send emails with Exim

> -----Original Message-----
> From: exim-users-admin@???
> [mailto:exim-users-admin@exim.org]On
> Behalf Of Dan Muey
> Sent: Wednesday, February 11, 2004 7:52 PM
> To: exim-users@???
> Subject: RE: [Exim] PHP Form to send emails with Exim
>
>
> >     answer the question.

>
> I did, my solution solved the problem by removing the problem.
> Use Perl to an SMTP session with Exim instead of piping to a
> program like PHP's mail() does. Much less places it
> can break, no?
>
> And no paths to worry about or config or if /usr/bin/sendmail
> links to exim properly, etc etc.
>
> Perl -> Send
> [Perl|PHP|Python|Etc] -> sendmail -> Exim -> Send
>


I tried to be quiet, but this simply isn't accurate. Non of the
web mail forms I write in PHP use sendmail, actually I probably
haven't used the mail() function for at least a year for anything
but simple text only stuff. $mail->send(array($To), 'smtp'); is
right out of my SystemMailer script. That line sends muti-part,
ecoded, you name it and the 'smtp' part should give a clue it's
not headed for sendmail. mail() is a simple, fast easy way to
handle sending simple text, there are classes that are for the
more complex things just as there are in perl. And programming
dynamic web pages in perl is cumbersome and slow compared to
php.. that is just a fact.

> >
> > if you can't answer the question, then why are you posting?
>
> I did answer the question.
>
> >
> > in this particular case, telling someone they're using the
> > wrong language is not answering the question (there are times
>
> I didn't say "wrong" I said *better*, way different.
>
> > when telling someone they're using the wrong language may be
> > a valid answer, but not when someone wants to use php to send
> > email. i just used php to send email out through exim
> > yesterday. to me it seems quite clear that it is possible to
> > answer this question without advising a language change while
> > making a gratuitous cheap shot in the process.)
>
> But its so easy to shoot at PHP because.. Sorry no
> more shooting :)
>


So, what is better about perl? Obviously your knowledge of PHP is
limited and thus perl must be better. So I guess if you know say,
Pascal, well and C just a bit then Pascal must be better? I once
had someone tell me you couldn't write a daemon in php, same
fella didn't know what --enable-pcntl meant. PHP, like perl, is
limited by the programmer more so than the language.


> >
> > i have laboriously taught myself not to reply to tell people
> > to use a different OS/Database/whatever over the years. i'm
> > not always successful at it, but i try. i wish others would
> > attempt to do the same.
> >
> > sheesh,
> > richard
>
> Sheesh,
>
> DMuey
>
> --
>
> ## List details at
> http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>