Date: Mon, 12 Apr 2010 15:26:46 +0400
Subject: Re: [PHP] Mail Function Problem
From: a.bovane...@gmail.com
To: aj...@alumni.iu.edu
CC: php-general@lists.php.net

Hi!
You have the following php.ini params:SMTP = smtp.live.com

smtp_port = 587
live.com not support relay and it requires authentication.

Is there an email account that I could try? I thought most email accounts 
requires authentication anyway.


Thanks for your help.

Alice

On Mon, Apr 12, 2010 at 6:33 AM, Alice Wei <aj...@alumni.iu.edu> wrote:



Hi,



I have an issue here where I see no PHP errors on my mail function usage, and 
yet I am not getting the mail in the desired account. Here is what I have for 
my PHP code:



$headers = "From: aj...@alumni.iu.edu";

$to = "aj...@alumni.iu.edu ";

$subject = "Comments Regarding My Studio";

$body = "From: $your_name\n E-Mail: $email\n Reason Contact: $question\n 
Comments:\n $comments";

mail($to, $subject, $body,$headers);



This is what I have in my PHP.ini:



[mail function]

; For Win32 only.

SMTP = smtp.live.com

smtp_port = 587



; For Win32 only.

sendmail_from = aj...@alumni.iu.edu



; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").

;sendmail_path =



; Force the addition of the specified parameters to be passed as extra 
parameters

; to the sendmail binary. These parameters will always replace the value of

; the 5th parameter to mail(), even in safe mode.

;mail.force_extra_parameters =



Yet, I don't see any mail in my aj...@alumni.iu.edu Mailbox, can anyone on the 
list please give me some pointers on what I may have done wrong here?

Thanks for your help.



_________________________________________________________________

The New Busy is not the old busy. Search, chat and e-mail from your inbox.

http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3


-- 
With regards,
Alexei Bovanenko

                                          
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5

Reply via email to