Help - Search - Members - Calendar
Full Version: Php Mail() Criteria
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
Faracus
So I am looking at the criteria for the mail() function, and I want to make sure before I continue and pay for it, mostly the first two points.
QUOTE
Website must be developed.
Website must contain a mailing script.


My website is still being worked on, but it is operational for the most part, the site in question is http://raccooncitypd.clanteam.com/ I require the mail() function for a few items in the members section, mostly for mailing recruiters when they have a new applicant, emailing new members when their application to join is approved or denied, and more to come, but the site is not 100% online, but the majority of it is.

I have the code in the HTML it is just put in to a comment block so members who register now won't get the error message pop up. will this cause a problem with the second point?

As for
QUOTE
Website must contain a mailing script.
Website must not break any laws, or terms of service set by Zymic.
I will be hosting files, but I have the approval of the person who created the files, and will follow his instructions on who is allowed to download them.

So reading this information, do you think I will be approved if I send the money in, I don't want to waste the $10USD if I cant.
ssfdre38
what needs to happen is that it does need to be developed so we know that your not going to pull a 180 and start to use it for spamming and we want to see a mailing script that you will be using for your site to make sure that the script you are using is safe for our servers and not set up for spamming users as we are trying to prevent spamming
Faracus
QUOTE
$email = $email ;
$subject = "New Member Request" ;
$message = "" . $name . " has applied to join Raccon City V-EMS. Please visit the website to view their application and either approve or deny them." ;
$to = "therealzerocool@gmail.com" ;
mail( "$to", "$subject",
$message, "From: $email" );

That's the code for the script, and the site is almost complete, it is something that will always be worked on, and expanding, but it is far past the point of pulling a 180.
ssfdre38
well im not the one who can say yes or no so you just need to wait
emersonhouse
QUOTE(ssfdre38 @ Mar 22 2012, 02:33 AM) *
what needs to happen is that it does need to be developed so we know that your not going to pull a 180 and start to use it for spamming and we want to see a mailing script that you will be using for your site to make sure that the script you are using is safe for our servers and not set up for spamming users as we are trying to prevent spamming


Hey,
You seem to know what you are on about with regards to mail stuff.
I was wondering if you could help me out with the following:-


<html>
<body>
<?php
// Contact subject
$subject ="$subject";
// Details
$message="$detail";

// Mail of sender
$mail_from="$customer_mail";
// From
$header="from: $name <$mail_from>";

// Enter your email address
$to ='email@email.com';

$send_contact=mail($to,$subject,$message,$header);

// Check, if message sent to your email
// display message "We've recived your information"
if($send_contact){
echo "We've recived your contact information";
}
else {
echo "ERROR";
}
?>
</body>
</html>

As you can see it's not sanitized or the $name or subject are not validated... simply cos I don't know much about this.
Any advice would be greatly appreciated...
Thanks
nishingtonbob
waste of money. when i bought it I waited 3 days and it still doesn't work. or it might just be phpbb
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.