Gmail - CI 2.1.0 |
[eluser]other-side[/eluser]
that code that works and sends mail is my test.php page wich when i do localhost/test.php it reads the code and sends an email from gmail to hotmail. but that is just to test weather the smtp works or not and in the code is told to send an email to my hotmail account, my actual sign up page is were the user will type there own email address and then an email should be sent to them with a link to activate and complete there account sign up, but thats when i get the error of not being able to send, Hope that explains better than my last post did, test.php (works and sends email with echo Hello word, Email testing working) signup.php (i get an error message, altho it stores there email address and activation key into my database) it just dont send them the email to confirm and activate there account EDIT: Sorry yes the test.php works but i cant use that code in place of sign up as they need all the other stuff to be sent to them not just the Hello World, they need the activation key and a box to type there email in, hence why its no good for what i need, just good to test the set up and see if it was sending emails and no ports were blocked or anything Thanks again bud, and i like the 8 ps
[eluser]other-side[/eluser]
This is the full error message i get once i click (sign up) Quote:A PHP Error was encountered hope this will help you to help me thanks
[eluser]TheFuzzy0ne[/eluser]
Somewhere you're still connecting to ssl://smtp.google.com (which doesn't exist). You need to find that and replace it with ssl://smtp.gmail.com.
[eluser]other-side[/eluser]
[quote author="TheFuzzy0ne" date="1369741853"]Somewhere you're still connecting to ssl://smtp.google.com (which doesn't exist). You need to find that and replace it with ssl://smtp.gmail.com.[/quote] do you know what, i feel like a bloody idiot, you said it twice and i didnt click, i looked at what my error said loads of times and never noticed it said google not gmail, how did i understand you after a hard days work i have no idea, but it seem to do the trick, email sent and recived, thank you so very much for fixing what i really didnt see, and making me feel like an idiot haha, TFO your a star * |
Welcome Guest, Not a member yet? Register Sign In |