WordPress.org

Forums

Is SMTP service required to install? (4 posts)

  1. kevisazombie
    Member
    Posted 7 years ago #

    Hi everyone I was recently having problems setting up wordpress on my home PC to use as a development enviroment. I had a post on it I managed to resolve the problem by doing some deep digging.

    Bascially after clicking submit on step one it was timing out. I eventually came to the conclusion that it was because I had no SMTP service setup on the machine with my xampp install and that it was trying to email me activation. I was able to change the wp_install function from the generation of a random password to my own password and have no problems now logging in but the install timed out.

    My concern is that if you need an active SMTP services to install why isnt that listed in the requirments anywhere. Would have saved me alotta trouble.

  2. ClaytonJames
    Member
    Posted 7 years ago #

    I don't believe you have to have SMTP services installed to send mail. I can't recall having the problem you speak of with any of my test installations on windows, however I set up the applications manually rather than using the Xampp package. If memory serves me correctly, you can take a look in php.ini. There should be a section very similar to this:

    [mail function]
    ; For Win32 only.
    SMTP = localhost
    smtp_port = 25

    ; For Win32 only.
    ;sendmail_from = me[at]example[dot]com

    If you substitute your smtp server and e-mail information (the info your isp gave you for your e-mail account), I think php will probably send your mail.

    If this is not correct, or anyone can recall something I left out, please jump in... I'm pretty hazy on the particulars of a windows install.

    I hope this helps in some way.

    Cj.

  3. ClaytonJames
    Member
    Posted 7 years ago #

    Don't forget to un-comment this line before saving the file:

    ;sendmail_from = me[at]example[dot]com

    After re-reading your post, I think perhaps I may have misinterpreted. If your problem is with the actual WordPress installation, then my response is simply no. In my own experience, I have never had the lack of SMTP services prevent a WordPress install. Again, if this is not correct, someone more knowledgeable please remove my foot from my mouth. :-)

  4. moshu
    Member
    Posted 7 years ago #

    I have WP installations on my XAMPP (on the machine I am writing from at this moment) since about v2.0.1 or so... till the latest svn update. They all installed correctly without ever sending any email.

Topic Closed

This topic has been closed to new replies.

About this Topic