Is there anyway to have MT use PHP's built-in mail function, instead of SMTP or sendmail to send me my forgotten password?
July 10, 2004 6:28 PM

Is there anyway to have MT use PHP's built-in mail function, instead of SMTP or sendmail to send me my forgotten password? [more inside]

I'm on a Win32 server so sendmail isn't really an option.

And in what concerns SMTP, according to the MT FAQ, it includes installing a couple of things, meaning I have to bug my host (which is something I don't wanna do), so I'll leave that as my last option.

I'm not an expert when it comes to those things, but I got the idea about using PHP's mail function, while stumbling upon this quote: "However, you shouldn't need sendmail, PHP's mail function should be able to handle things on its own, even under Windows" (from a set of Wiki installation instructions, source).

I know that the mail function works in my host, a recent Wiki installation has used it successfully.

So, is there any way to do this?

(Or, if you can come up with a solution to retrieve my password that doesn't include super-user access to the host [e.g. installing a tool, etc.], please feel free to share it with me.)

Thanks in advance for your help, folks.
posted by kchristidis to Computers & Internet (6 answers total)
MT-Medic may do the trick. (via warmbrain)
posted by waldo at 7:46 PM on July 10, 2004


And in what concerns SMTP, according to the MT FAQ, it includes installing a couple of things, meaning I have to bug my host (which is something I don't wanna do), so I'll leave that as my last option.

No, you don't have to bug your host. The required module for SMTP can go in your extlib folder, same as the other modules MT needs. You have complete control over this folder since it is in your MT directory. Just follow the instructions and it will work fine.
posted by kindall at 8:08 PM on July 10, 2004


Oh, never mind, it says "on non-Win32 machines." My bad.
posted by kindall at 8:28 PM on July 10, 2004


Waldo, a huuuge thanks for the help - it worked! (And it's a fantastic & easy plugin by the way, highly recommended.)

Kindall, don't worry; I appreciate the fact that you tried to help - that's what's important!

Once again, thanks a ton Waldo! I finally managed to log back in to my MT installation!
posted by kchristidis at 4:24 AM on July 11, 2004


Konstantinos, if you have a paid MT license, you can file a help ticket for support on this. Either way, PHP's mail function uses Windows' SMTP functionality anyway (it has no inherent built-in mail functions) so if you can get PHP to send mail, Perl (and thus MT) should be able to as well. Seems like MT-Medic solved the problem, though, so glad to see you're on your way. :)
posted by anildash at 11:22 AM on July 12, 2004


Hey Anil, thanks for that tip, and your kindness to explain what's going on with PHP's built-in mail function & SMTP, etc.

I'll try to get MT sending mail in the next days - fingers crossed!
posted by kchristidis at 2:42 PM on July 12, 2004


« Older Tempeh   |   Any advice from self-employed web designers on how... Newer »
This thread is closed to new comments.