15 posts
  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
fadetogray says

In the last two weeks I have bought two projects from Activeden and cannot get either of the authors to respond in support.. I am trying to get the php mailer to send email and can’t see why it’s not doing it..Please if you can lend any help I would be grateful code is below

<?php $to = ($_POST[‘_to’]); $subject = ($_POST[‘_subject’]); $message = ($_POST[‘_content’]); $message .= ”\n\n------------\n”; $headers = “From: ” . $_POST[‘_email’] . ” <” . $_POST[‘_emailfrom’] . ”>\n”; if(@mail($to, $subject, $message, $headers)) { echo “answer=ok”; } else { echo “answer=error”; } ?>

<?php $to = “wishingwell@cinci.rr.com”; $subject = “From our website”; $message = “Someone has reached out.”; $from = “someonelse@example.com”; $headers = “From:” . $from; mail($to,$subject,$message,$headers); echo “Mail Sent.”; ?>

102 posts
  • Referred between 1 and 9 users
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Turkey
KurtBilisim says

I can’t see any problem with the code.

Are you sure your hosting supports PHP mail sending? If it is a free host for example it is probably not permitted.

Or even if it is not free, sometimes they close it and open only when requested.

Also your mails from your hosting may end up in Junk folder or perhaps the destination mail provider filters it completely.

15 posts
  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
fadetogray says

I can’t see any problem with the code.

Are you sure your hosting supports PHP mail sending? If it is a free host for example it is probably not permitted.

Or even if it is not free, sometimes they close it and open only when requested.

Also your mails from your hosting may end up in Junk folder or perhaps the destination mail provider filters it completely.

Thanks for the reply !! I have checked my junk forlder nothing there I can ask them if there is an issue with php mailing but dont ever think I have had issues before …atleast the code is correct thats a good start

15 posts
  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
fadetogray says


I can’t see any problem with the code.

Are you sure your hosting supports PHP mail sending? If it is a free host for example it is probably not permitted.

Or even if it is not free, sometimes they close it and open only when requested.

Also your mails from your hosting may end up in Junk folder or perhaps the destination mail provider filters it completely.
Thanks for the reply !! I have checked my junk forlder nothing there I can ask them if there is an issue with php mailing but dont ever think I have had issues before …atleast the code is correct thats a good start

Forgot to add no I pay for my hosting account so thats why I am stumped

4136 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says

Its probably on your and 99% all from mail file here been check before submission, check your php url path maybe you need to change it ? But overall i am almost sure it’s your upload setting, probably something minor you are doing wrong

15 posts
  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
fadetogray says

Its probably on your and 99% all from mail file here been check before submission, check your php url path maybe you need to change it ? But overall i am almost sure it’s your upload setting, probably something minor you are doing wrong

THanks for all th ehelp Just where would my upload setting be ? the php url

4136 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says

Well there is a basic way how you should upload flash file to your website, i am not going to start singing for you the flash routine with the right upload steps that is way too long ,but i think a year ago or so i write a tutorial here with step by step how to upload flash file to your website base on AD files, you need to look for it here .

Regarding the php url if he didn’t add this option in the xml it probably in the Action Script code itself you need to find it(I am sure he mention it on the help file ) change the url and compile the swf before you upload the file.

102 posts
  • Referred between 1 and 9 users
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Turkey
KurtBilisim says

Hey look, your second code can be called by on its own. Upload it to your server and type its URL in the address bar, like http://www.yoursite.com/mailsender.php and if you can see the mail in inbox, the code certainly works.

The first code requires some post values so you can’t test it this way though.

by
by
by
by
by
by