Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End About contact forms and php email function

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25693
    Grin
    Member

    First of all, hello. I have just started to learn some php and i wanted to make use of the contact form provided here but right now i’m working locally and i can’t send mails.

    Now, i’ve read that in order to do so i need to change the SMTP address, in the phpini doc, to my ISP’s one and as i was looking for it i found out that my ISP blocked the port 25 as of August 1st.

    So my questions are:

    Is it possible to use another port so that i can send mails from my local project?
    If upload the site paying for hosting (assuming all coding is correct) will the contact form work as it is?

    Sorry if my english i awkward and thanks in advance for any and all comments.

    Grin.

    #61992

    Hi,

    If you’re developing under WIndows you will want to set the smtp options in php.ini.

    Code:
    smtp=smtp.yourisp.com
    smtp_port=25
    #62528
    Grin
    Member

    It worked fine when i uploaded the whole site, thanks for the tips though.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.