I am maintaining the mail function signature perfectly. But, the error is still there. I guess I have messed up something with ini_set() but not getting it. I need the total php settings or example to send the mail from my php page through my gmail account.
Can you please help me?
Even if I copied the code from the referred link. Still it is not working an it is giving the following error:
Warning: mail() [function.mail]:...
User Profile
Collapse
-
Rana Chakra started a topic How to Send Mail with account activation link after filling up registration formin PHPHow to Send Mail with account activation link after filling up registration form
I am trying to send an automatic mail containing the account activation link to the person who is filling up the registration form after he/she clicks on Create account button. But every time it giving an error .... Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. w42sm3532376wfh .15 in C:\wamp\www\Key West\NewRegiste r.php on line 66... can I get some help. The code I have written is as follows:... -
This code removed the problem....
...Code:<center><table border="1" bordercolor="orange"> <tr> <td bgcolor="black"> </td> <td bgcolor="black"><font color="orange" face="verdana" size="2"><b>Job Number</b></font></td> <td bgcolor="black"> </td>
Leave a comment:
-
OK got it.... <tr> and </tr> is firing for only one column...... Sorry for the sily question.Leave a comment:
-
code under if is working for i%3==1 .... help
I just want to display three columns in one row. But, when value of $i is 1 or 4, the statements under if is firing. Dont know why it is happening, and how to solve it.
...Code:$i=0; while ($row = mysql_fetch_assoc($result)) { if(($i%3)==0) { echo "<tr>"; echo "<td><input type=radioLeave a comment:
-
Yep.. solved the problem. I changed the code as follows:
...Code:$query="select * from employee where srl ='". $r."'"; $result=mysql_query($query); while($row = mysql_fetch_assoc($result)) { echo "<br><strong>Employee Name:".$row['ename']; echo "<br>Designation :".$row['desig']; echo "<br>Department :".$row['dept'];Leave a comment:
-
mysql_fetch_ass oc() expects parameter 1 to be resource.. line 58
mysql_fetch_ass oc() expects parameter 1 to be resource at line 58... Please help
...Code:<?php session_start(); if($_SESSION['UID']) { if($_SESSION['RGT'] == "R") header("location:NoAccess.php"); } else header("location:NoAccess.php"); $message="";Leave a comment:
-
Thanks for replying
Thanks to you too for paying kind attention. will come back if got stuck anywhere.Leave a comment:
-
-
Modified - Now getting in Line 38
...Code:<?php $username="root"; $password=""; $database="lko_phone"; $host="localhost"; $msg=""; mysql_connect($host,$username,$password); @mysql_select_db($database); if($_POST) { $myusername=$_POST['unm']; $mypassword=$_POST['pwd']; $sql="SELECTLeave a comment:
-
Why getting parse error in PHP at line 20?
...Code:<?php $username="root"; $password=""; $database="lko_phone"; $host="localhost"; $msg=""; mysql_connect($host,$username,$password); @mysql_select_db($database); if($_SERVER["REQUEST_METHOD"] == "POST") { $myusername=$_POST['unm']; $mypassword=$_POST['pwd']; $sql="SELECT
No activity results to display
Show More
Leave a comment: