Thank you, I changed the form action and instead of:
header("Location: " . rel2abs("../users.php?mod=profile&sent=true",dirname(__FILE__));
in the trigger I put:
//Send Mail All Entries
if ("users_Profile.php?sent=true"!="") {
header("Location: users.php?mod=profile&sent=true");
}
and now the page is refreshing were it shoud at users.php but the email is being sent without subject and also, should I leave
if ("users_Profile.php?sent=true"!="") {
header("Location: users.php?mod=profile&sent=true");
}
or change it to:
if ("users.php?mod=profile&sent=true"!="") {
header("Location: users.php?mod=profile&sent=true");
}
thank you in advance