Quote:
Originally Posted by hinch
I know exactly what an SMTP server does you appear to be getting confused between client server and distribution/routing protocols though.
|
We'll have to agree to differ. For reasons that you'll see below, I'm going to agree with my version and understanding of it.
Quote:
Originally Posted by hinch
I'm not getting confused either with your recommendation however you are ignoring where the op says he resolved the issue using sendmail not your fakemail.
|
Actually, you're very wrong and yes you are very confused. Do you really think I don't recognise that ini file configuration that he quoted?
Look at this:
Note the url there in that picture.
Quote:
Originally Posted by nani_nisha06
This worked for me after i updated the sendmail files (the old ones dont support smtp)
go to http://glob.com.au/sendmail/ and grab the latest sendmail zip file
unzip to desktop and copy the files into your \xampp\sendmail folder replacing everything that was there.EVERYTHING!
Please restart your Apache one have above settings......
|
Note the URL in that quote - it matches - nani_nisha IS using FAKEsendmail - The title of the search result in my google search screen capture makes that perfectly clear.
Let me re-quote this:
Quote:
Originally Posted by hinch
I'm not getting confused ... the op says he resolved the issue using sendmail not your fakemail.
|
Yes you are confused because he did exactly that - solved it with FAKEsendmail. You claim you're not confused yet you still can't grasp the concept that it is called fakesendmail and refer to it
again as fakemail.
Quote:
Originally Posted by hinch
Therefore he's running a windows compile of sendmail.
|
No he isn't. He's running an equivalent of sendmail that works as a SMTP client.
Quote:
Originally Posted by hinch
You are also ignoring the fact that neither of you are writing portable code when using either direct sendmail or fakemail wrapper as both methods are relying/expecting an underlying sendmail binary to be available for sending on as calling mail() in php calls /usr/sbin/sendmail etc (this is why other servers such as postfix still implement a sendmail wrapper to allow legacy stuff like php to send via it even when sendmail isn't installed)
|
I do agree with this however the reality is that most webservers these days have sendmail or equivalent installed. It's only some wamp setups that seem to scrimp on it sometimes.
However, i still disagree with you about sendmail / smtp. Sendmail is in general a SMTP client for its outgoing email. My own site uses sendmail and yes, I can see the live incoming SMTP connection from my SMTP servers live monitor.
Take a look:
http://en.wikipedia.org/wiki/Sendmail
Quote:
|
Sendmail is a general purpose internetwork email routing facility that supports many kinds of mail-transfer and -delivery methods, including the Simple Mail Transfer Protocol (SMTP) used for email transport over the Internet.
|
Note that I am not saying SMTP is its only method of communication - I'm aware that sendmail may have other uses (none of which interest me) however for general outgoing email, you need to use SMTP (even you know that because you keep harping on about using SMTP instead of sendmail).
Quote:
Originally Posted by hinch
Using a mail library (I only use swift as thats what i'm familiar with however there are others) and rather than calling the sendmail transport you rely on.
By using a mail library and a direct SMTP transport it means your code can use any SMTPd regardless of if its exim/sendmail/postfix/iis/whatever. It also means you can easily use an external/non local host send server which in production environments is often the case where all mail goes through a different server to to the websites running on. Doing it your way for example would mean if your front end web servers don't run some form of SMTP you couldn't send mail. which would mean you either rewriting your code or adding in traps initially to detect which environment your code is running in and changing the mail system accordingly. Both of which add overhead and are unrequired.
|
I have no issue with this as you are correct however it's user preference IMO. Fake/sendmail makes it easy for a user to dive in and send out emails. As I mentioned above, it's rare for a server not to have it installed unless its a wamp setup and even then you can use fakesendmail as I've mentioned.