# I need help!

**URL:** <https://forum.kirupa.com/t/i-need-help/240724>\
**Category:** Uncategorized\
**Created:** [October 5, 2007, 12:39pm UTC](https://forum.kirupa.com/t/i-need-help/240724 "2007-10-05T12:39:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![4gotten](https://avatars.discourse-cdn.com/v4/letter/4/d07c76/32.png) [@4gotten](https://forum.kirupa.com/u/4gotten)\
**Post date:** [October 5, 2007, 12:39pm UTC](https://forum.kirupa.com/t/i-need-help/240724/1 "2007-10-05T12:39:16Z")

</div>

pls help me, how to send email and how to use mail() function… i dont know if my php.ini file is properly configured. here it is;

[mail function]  
; For Win32 only.  
SMTP = [smtp.secureserver.net](http://smtp.secureserver.net)  
smtp\_port = 25  
; For Win32 only.  
;sendmail\_from = [myemail@yahoo.com](mailto:myemail@yahoo.com)

the error says;

" **Warning** : mail(): “sendmail\_from” not set in php.ini or custom “From:” header missing in **C:\webroot\mail.php** on line **15"**

**-pls somebody help me with this problem. thanks in advance!**

**- pls give me some example of sending emails. thnks!**
