• I am assembling a local test server (proof of concept only) of a complete WordPress environment. When I go into ‘production’ the only thing I want to rely on being “out of the box” is the virtual server environment (I haven’t yet chosen one) and its connection to the Internet. I need to understand how to implement and test the password email functionality of WordPress. However, I don’t have the slightest clue about what the principles are behind how this function works; let alone what its requirements are or how I can translate this into a test environment.

    My System so far:
    Suse Linux 11, Apache 2.2.10, MySQL 5.0.67, PHP 5.2.9, WordPress 2.8
    Wordpress is basically functional under a named virtual host “testpress.x”

    I am sure it is something that’s not supposed to need explaining, but I know nothing more that I needed to get this far (no PHP, no Apache, and I’ve forgotten most of the Linux I knew 10 years ago). Perhaps a facility in PHP or whole new server function needs configuring or adding?

    All pointers greatly appreciated but I’m not looking for a quick workaround. In this case the journey is just as important as the destination.

    Apologies for the essay.

Viewing 7 replies - 1 through 7 (of 7 total)
  • If you don’t know how the password functionality works, how can you test it? If it was me, I’d start by looking through the scripts, checking the db and trawling through the Codex.

    heard of smtp?

    http://www.google.com/#hl=en&q=smtp&aq=f&oq=&aqi=g10&fp=Xmf0jJ9P_V0

    php’s mail() function uses smtp to send emails.

    Thread Starter awrl100

    (@awrl100)

    Hello esmi, thanks for the repsonce. Thats my point, I cant. The thing is I cant read the script (I don’t know PHP), and trawling the Codex seems to have turned up nothing but articles about the email posting functionn. I am basically an idiot at the moment, I dont know where on the globe I am standing or which direction to head in. I could use a bearing.

    Thread Starter awrl100

    (@awrl100)

    whooami, yes I understand smpt (I think) but would have imagined that if this just this protocol used stright out the password function would already be working unless I have a firewall blocking it. Outgoing I can;t imagine I would. I have a POP3 account, I set that as a user address. Requested a password, nothing.

    explaining how to set up a server is outside the scope of this forum (for me, at least). There are TONS of other resources for that sort of conversation.

    if you request a lost password via the wp-login.php page, and you dont get a specific message about mail being disabled, than smtp is installed on the box.

    that does NOT mean that smtp is working correctly or being friendly with wordpress, however.

    So then, you use your trusty browser, and you google how to test that smtp IS working. You can do it at a cli or using any number of scripts..

    In fact, I linked to a page which provided several examples.

    Thread Starter awrl100

    (@awrl100)

    Thank you whooami, I was just looking. I think I need to put some more effort in now. I’ve got that bearing I needed, smtp. I think part of the problem maybe that this smtp task is more nonsensical than the ones I’ve have tinkered with in the past.

    Thread Starter awrl100

    (@awrl100)

    For anyone who may chance upon this thread and benefit from knowing, if your test environment connects to the internet via an ISP’s dynamically allocated IP pool there is a good chance the server of any bonafide POP3 address you may be using to test (for example, as I was) will reject your Worpress site’s SMTP envelope.
    This could be for one of any number of reasons. I tried recipient address ‘A’ from my work’s fixed (commercial product) ip address which worked regardless of the sender address being meaningless, from home sent again to ‘A’ it failed sighting my home originating ip as banned by its spam system, it wouldn’t even recieve the envelope. I tried a second recipient address ‘B’ which accepted the envelope but wouldn’t deliver it sighting reasons unspecific.
    The tool I used was a Windows command line SMTP mailer http://www.beyondlogic.org/solutions/cmdlinemail/cmdlinemail.htm
    I won’t attest for its ‘safety’ either way (thats up to you) but it did what I needed (the -d switch is very helpful).

    Now I am going to try to setup a mail server on my LAN or perhaps even the same host to use as a test. I may post here again if I do. Its probably outside the scope of this forum but its vaguely relevant to WordPress and if I looked here maybe someone else will.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘How does password emailing work? (requirements/configuration)’ is closed to new replies.