CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
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.
This reply has been reported for inappropriate content.
I have never bothered to try and send emails from a local development. If you get a "mail sent" message and no errors then the chances are that it is working fine.
You may want to check with your host that emails are not disabled, a few hosts do it to counteract spam, but you should be ok.
If you’re developing under WIndows you will want to set the smtp options in php.ini.
It worked fine when i uploaded the whole site, thanks for the tips though.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed