What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » php send mail script

php send mail script
Author: Message:
spokes
Full Member
***

Avatar
I <3 Rollerblading

Posts: 423
Reputation: 10
34 / Male / Flag
Joined: May 2004
O.P. php send mail script
any one know of a script that can send an email to a gmail account (visor.crew@gmail.com)? and i would probably need an smtp server to go with it

[Image: sig15ws.png]
03-16-2005 09:40 PM
Profile E-Mail PM Web Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
35 / Male / –
Joined: Jun 2004
RE: php send mail script
Have a read of http://www.php.net/manual/en/ref.mail.php
03-16-2005 09:47 PM
Profile PM Find Quote Report
spokes
Full Member
***

Avatar
I <3 Rollerblading

Posts: 423
Reputation: 10
34 / Male / Flag
Joined: May 2004
O.P. RE: php send mail script
ok, any ideas on a free smtp??

[Image: sig15ws.png]
03-16-2005 09:56 PM
Profile E-Mail PM Web Find Quote Report
brian
Senior Member
****

Avatar

Posts: 819
Reputation: 43
– / Male / –
Joined: Sep 2004
RE: php send mail script
Means you didn't read that page, read it! You can send emails using php without use of SMTP servers.
03-16-2005 10:09 PM
Profile PM Find Quote Report
fluffy_lobster
Veteran Member
*****

Avatar
Posts: -2

Posts: 1391
Reputation: 23
36 / Male / Flag
Joined: Nov 2002
RE: php send mail script
quote:
Originally posted by Vexx
Means you didn't read that page, read it! You can send emails using php without use of SMTP servers.
That's not quite true. PHP acts as a SMTP server, I believe, and contacts the appropriate mail servers via the SMTP protocol.
03-17-2005 10:19 AM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: php send mail script
to add a sender you have got to send extra stuff in the headers so your code would look something like

code:

<?php
$yourmail = "blah@gmail.com";
$email = "guy to send too";
$subject = "subject";
$body="body of email";
$headers = "from:$yourmail\n";
mail($email,$subject,$body,$headers);
?>



This post was edited on 03-17-2005 at 12:22 PM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
03-17-2005 10:54 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On