# Hello needed with silple php set up

**URL:** <https://forum.kirupa.com/t/hello-needed-with-silple-php-set-up/64465>\
**Category:** Uncategorized\
**Created:** [September 16, 2004, 3:47pm UTC](https://forum.kirupa.com/t/hello-needed-with-silple-php-set-up/64465 "2004-09-16T15:47:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![firstSteps](https://avatars.discourse-cdn.com/v4/letter/f/b487fb/32.png) [@firstSteps](https://forum.kirupa.com/u/firstSteps)\
**Post date:** [September 16, 2004, 3:47pm UTC](https://forum.kirupa.com/t/hello-needed-with-silple-php-set-up/64465/1 "2004-09-16T15:47:36Z")

</div>

Hi all,  
im new to php so please be easy on me 🙂  
im trying to send an email from flash using php, but for some reason it wont work. Im testing locally to see if i can do this with this code.

// code used  
\<?php  
mail(“[didosh@wanadoo.fr](mailto:didosh@wanadoo.fr)”, $subject, $message, “From: PHPMailer  
Reply-To: $from  
X-Mailer: PHP/” . phpversion());  
?\>

// output  
**Warning** : Failed to connect to mailserver, verify your “SMTP” setting in php.ini in c:\phpdev\www est\mail.php3 on line **2**

i have no idea what "SMTP"is or how to find it even less about the php.ini file

any help would be greatful

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 4:51pm UTC](https://forum.kirupa.com/t/hello-needed-with-silple-php-set-up/64465/2 "2004-09-16T16:51:51Z")

</div>

while you are waiting for an answer to your question, I can tell you where php.ini file should be.  
I used installing php server w/apachi tutorial from kirupa tutorials. on page 2 it talks about this file. [LINK](http://www.kirupa.com/web/apache_php3.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 6:07pm UTC](https://forum.kirupa.com/t/hello-needed-with-silple-php-set-up/64465/3 "2004-09-16T18:07:51Z")

</div>

SMTP = Simple Mail Transfer Protocol.

SMTP is a protocol for transferring email across the internet.

[http://en.wikipedia.org/wiki/SMTP](http://en.wikipedia.org/wiki/SMTP)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 7:43pm UTC](https://forum.kirupa.com/t/hello-needed-with-silple-php-set-up/64465/4 "2004-09-16T19:43:48Z")

</div>

ok thanks for your help i’ll look at them both

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 9:21pm UTC](https://forum.kirupa.com/t/hello-needed-with-silple-php-set-up/64465/5 "2004-09-16T21:21:33Z")

</div>

Hello

Hope that helps.

😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 17, 2004, 7:16am UTC](https://forum.kirupa.com/t/hello-needed-with-silple-php-set-up/64465/6 "2004-09-17T07:16:33Z")

</div>

yes it does help but im still not sure what i should be doing to get this to php mail to work
