Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Php Functions To Send Mail
rigueira
post Nov 27 2007, 11:28 AM
Post #1


Newbie [Level 2]
**

Group: Members
Posts: 28
Joined: 25-November 07
Member No.: 53,723



Which other methods to send mail from a form?

I just know mail function, like: mail(string to, string subject, string message)

Has anyother?
Go to the top of the page
 
+Quote Post
truefusion
post Nov 27 2007, 11:35 AM
Post #2


Ephesians 6:10-17
Group Icon

Group: [MODERATOR]
Posts: 1,868
Joined: 22-June 05
From: The World of Gentoo
Member No.: 8,528
T17 GFX Crew



The mail function provided by default in PHP is more than enough to fit all the needs of a programmer concerning this. In order to get other mail functions, you would have to install some PHP mail modules into your server or when compiling PHP from source.
Go to the top of the page
 
+Quote Post
rigueira
post Nov 27 2007, 12:39 PM
Post #3


Newbie [Level 2]
**

Group: Members
Posts: 28
Joined: 25-November 07
Member No.: 53,723



but many server do not accept mail function, and other alternatives is necessary
Go to the top of the page
 
+Quote Post
Galahad
post Nov 27 2007, 12:46 PM
Post #4


Neurotical Squirrel
*********

Group: [HOSTED]
Posts: 585
Joined: 4-November 04
From: Novi Sad, Vojvodina
Member No.: 2,127



I believe Trap17 servers allow mail() function, I'm not sure, as I didn't have the need to use it...

And since you do need to install additional libraries for PHP, and recompile, you won't be able to do that, until you run your own server, because most hosts run only the default PHP binaries, with maybe few additional functionalities included...

mail() function is more than enough to send an email automaticaly, from your script... Move your hosting to Trap17, and you'll be able to use mail() function...
Go to the top of the page
 
+Quote Post
t3jem
post Nov 27 2007, 10:52 PM
Post #5


Privileged Member
*********

Group: [HOSTED]
Posts: 521
Joined: 9-February 07
Member No.: 38,519



QUOTE(Galahad @ Nov 27 2007, 05:46 AM) *
I believe Trap17 servers allow mail() function, I'm not sure, as I didn't have the need to use it...


I've tried it and the mail() function works great. I think it's all anyone would need and like Galahad said, you wouldn't be able to install PHP addons unless you were running your own web server in which case you could just enable the mail function.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Contact Form(2)
  2. Confused...(5)
  3. Writing Your Own Functions In Php(2)
  4. Using The Image Editing Functions Of Php(4)
  5. Php G-mail Login(8)
  6. Build Contact Mail(3)
  7. Form To Php Mail. Attachment(14)
  8. Globals Inside Functions(4)
  9. Send Mail In Strict Xhtml(2)
  10. Some Php Functions Explaination Required(2)
  11. How To Enable Mail() Function In Php(1)
  12. Question About The Mail() Function(2)
  13. Wappy's Php Snippets(13)
  14. Help With Mail And Attachments(4)
  15. Bulk Mail(5)
  1. Wappymail_v1.50(15)
  2. Gd Functions(2)
  3. Want To Send Mail But Smtp Disabled, Help Me!(7)
  4. [php](simple) Using Functions To Combine Values In A Form(2)
  5. Mail() Clone(5)
  6. Encrypt Functions(0)
  7. Prequirement For Mail()(1)
  8. Arrays Outside A Function(3)
  9. Php Email Validation(1)
  10. Requirements For Mail()(2)
  11. Functions(7)


 



- Lo-Fi Version Time is now: 26th July 2008 - 08:05 AM