if everyone as the same problem… is so hard to anwers us!?
no one knows how to put a server… just answer!!! jesus…
i have put other questions and you say at the end leave your questions to answer but you never do, just like politics!!!!
@khlimj look at my comment above to fix the port problem, also you have the mail function is this. => mail($to, $subject, $body, $headers); you have a spelling error and added an extra “);”
We have to set our mail server’s ports.
$server = “mail.yoursite.com”; //mail server url
ini_set(“SMTP”,$server);
ini_set(“smtp_port”,”26″); //set your mail server port
//function to send email
mail($to, $subject, $body, $headers);
I have this errors when follow ur php email activation 4/5:
Warning: mail() [function.mail]: Failed to connect to mailserver at “mailhost.smtp.gmail.com” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:xamplitehtdocsmysiteloginregister.php on line 91
You have been registered! Check your email to activate your account!
If I take out mail($to,$subject,$body,$hearders);); then ok but can’t recieve email at all
@squernerproductions hey i have the same problem, i already change “SMTP” for “localhost” and still have the same error message as you. i have the code like this: ini_set(“localhost”,$server); but i dont know what to put in $server= ????…. did you solve this problem???!!! please help.
Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:xampphtdocsxampprocketbirdloginregister.php on line 87
hey alex i get an error called
Warning: mail() [function.mail]: SMTP server response: 550 Authentication required in C:xamppxampplitehtdocsloginregister.php on line 87
damn!!!!please help me out
Hello im after a big big big favor i have made a website but i need the activation part working now some people said i need to buy a email adress that does this but i have a live account if i gave u the scripts would you be able to set this up so people can activate the account as i looked were u put everythink and could not find were they went as they do not go into phpmyadmin My email account is
Yes that is a email added
@eddyterminator query the database with a normal file’s ID for normal users and premium ID for premium users. so only premium users will see their files.
to make your users have different levels you can make a “userlevel” field in your users table and lets say , normal users have 0 and higher accounts have 5.
154Rambo says
These are AMAZING! I was very intimidated by php until watching these tutorials.
O yeah…
If you all have a yahoo account use stmp.mail.yahoo.com as your server. Might work even if you don’t have a yahoo account! or not… idk… lol.
symphoytone says
Warning: mail() [function.mail]: SMTP server response: 530 SMTP authentication is required. in C:WebsitesuserMgmtregister.php on line 87
nicozarris16 says
please give us a FREE SERVER URL for testing this email activation! everyone will sure appreciate it. THANKS! have a unity to all programmers! 😀
tmetdixt says
Bro please help me for this Wanrning Thanx
Warning: mail() [function.mail]: SMTP server response: 550 Authentication required in C:xampphtdocsregister.php on line 88
Your have been register! Check your email to activate your account!
PeterLifeOnline says
if everyone as the same problem… is so hard to anwers us!?
no one knows how to put a server… just answer!!! jesus…
i have put other questions and you say at the end leave your questions to answer but you never do, just like politics!!!!
squernerproductions says
@dennis3380 no i am sorry i am looking for it but i cant find it:S
JemiloII says
@expermagicians8888 you gotta use a real email for your mail server. Otherwise, it will not be authenticated.
JemiloII says
@squernerproductions sending you a reply so you can see that the problenm was fixed. look at my comment above 😀
JemiloII says
@khlimj look at my comment above to fix the port problem, also you have the mail function is this. => mail($to, $subject, $body, $headers); you have a spelling error and added an extra “);”
JemiloII says
We have to set our mail server’s ports.
$server = “mail.yoursite.com”; //mail server url
ini_set(“SMTP”,$server);
ini_set(“smtp_port”,”26″); //set your mail server port
//function to send email
mail($to, $subject, $body, $headers);
dennis3380 says
@khlimj everybody have the same problem…..
khlimj says
I have this errors when follow ur php email activation 4/5:
Warning: mail() [function.mail]: Failed to connect to mailserver at “mailhost.smtp.gmail.com” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:xamplitehtdocsmysiteloginregister.php on line 91
You have been registered! Check your email to activate your account!
If I take out mail($to,$subject,$body,$hearders);); then ok but can’t recieve email at all
dennis3380 says
@squernerproductions hey i have the same problem, i already change “SMTP” for “localhost” and still have the same error message as you. i have the code like this: ini_set(“localhost”,$server); but i dont know what to put in $server= ????…. did you solve this problem???!!! please help.
squernerproductions says
somebody help me plz i have an live account what is my mailhost i give you the full script.
plz heeeeeeeeelpppppp-.-
squernerproductions says
@eaglesphere03 i have the same error
squernerproductions says
@Ant20102 same problem
squernerproductions says
Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:xampphtdocsxampprocketbirdloginregister.php on line 87
expermagicians8888 says
hey alex i get an error called
Warning: mail() [function.mail]: SMTP server response: 550 Authentication required in C:xamppxampplitehtdocsloginregister.php on line 87
damn!!!!please help me out
safyanshah says
Thanks a million…. Exactly what I was looking for (and I believe most of the people look for). Amazingly Great Stuff. Thanks once again.
reben88 says
Thank You Very Much For Those Useful PHP Tutoral 🙂
can you also please upload the source code as well 🙂
You are the life Saver keep it up :)))
speedysb100 says
guys, for SMPT, just set as localhost.
Ant20102 says
my email adress is bargainsales .co .uk @ live .co uk All 2gether im sorry but youtube would not let me add the email adress
Thank you
Ant20102 says
Hello im after a big big big favor i have made a website but i need the activation part working now some people said i need to buy a email adress that does this but i have a live account if i gave u the scripts would you be able to set this up so people can activate the account as i looked were u put everythink and could not find were they went as they do not go into phpmyadmin My email account is
Yes that is a email added
mitomane says
Thanks, I appreciate your work ^^
mornaistar says
@eddyterminator query the database with a normal file’s ID for normal users and premium ID for premium users. so only premium users will see their files.
to make your users have different levels you can make a “userlevel” field in your users table and lets say , normal users have 0 and higher accounts have 5.
hope that helps