ID:               48554
 User updated by:  lakshmi at nace dot co dot in
 Reported By:      lakshmi at nace dot co dot in
 Status:           Bogus
 Bug Type:         Mail related
-Operating System: Iinux
+Operating System: Linux
 PHP Version:      5.2.10RC2
 New Comment:

cannot send email using mail() through proxy connection(static ip
address) if I use direct connection (dynamic ip address) can able to
send and receive the mail 




can anyone help me out to sort this problem


Previous Comments:
------------------------------------------------------------------------

[2009-06-15 11:07:17] j...@php.net

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



------------------------------------------------------------------------

[2009-06-15 09:52:12] lakshmi at nace dot co dot in

Description:
------------
In LINUX (throught proxy connection) I cannot able to send the mail
function, mail function is working properly it will shows an message
"msg sent successfully" but it is not reaching the destination email
id.

In LINUX (throught direct internet connection) mail function is also
working properly and also the mail is reaching the destination email id
perfectly.

how can i rectify this problem


Reproduce code:
---------------
---
>From manual page: book.mail
---
<?php

$Name = "Da Duder"; //senders name
$email = "em...@adress.com"; //senders e-mail adress
$recipient = "personwhoget...@emailadress.com"; //recipient
$mail_body = "The text for the mail..."; //mail body
$subject = "Subject for reviever"; //subject
$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional
headerfields
if(mail($recipient, $subject, $mail_body, $header)) //mail command :)
echo "mail sent";
else
echo "mail failed to sent
?>

Expected result:
----------------
this function executes in direct internet connection, but it has to
work when i am using proxy connection too.

Actual result:
--------------
it has to display the output

mail sent

and it has to reach to the destination(receiptent) email id


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48554&edit=1

Reply via email to