Reply
php mail() problem
Old 05-10-2004, 03:37 PM php mail() problem
Junior Talker

Posts: 2
Hi,

I am having problems with php mail function. cannot send mail to specified e-mail address.

Can some one tell me what i am doing wrong. The coding is as listed below.


Code:
<?php
$from = "some-email address";
$to = "to another email address";
$header = "header";
$subject  = "subject";
$body = "body";

mail($to, $subject, $body, $header);
?>
Thank in advance
guguBanana is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-11-2004, 05:30 AM
Novice Talker

Posts: 13
Unfortunatelly, you was not specisic enough. This would be better to post the values of the variabless as well as the return value of your function. I also believe that you are using a properly configured SMTP server.
Perhaps reading a tutorial may help.
__________________
scisoft webdesign & SEO
Bisport
scisoft is offline
Reply With Quote
View Public Profile Visit scisoft's homepage!
 
Old 05-13-2004, 05:18 PM
Duasun's Avatar
Novice Talker

Posts: 6
Try to put something like this:

mail ("$to","$subject","$Text","$from");

MAybe it will help?
Duasun is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to php mail() problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13142 seconds with 12 queries