RE: Help with template file and email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







Hello Joey,
No problem, I'm glad you got it working now.  
Any other question. Use php-list.

Regards,
Carlos Sura.


From: j.hendricksjr@xxxxxxxxxxx
To: carlos_sura@xxxxxxxxxxx
Subject: Re:  Help with template file and email
Date: Sat, 24 Jul 2010 08:29:03 -0500










Hi Carlos,
  I wanted to thank you for all your help!! In the 
function I had to use a foreach() to get the email. Then put the $_GET['email'] 
in when I called the function. Finally got it!
                                                            
Thank you for your help!!
                                                                  
Joey.

  ----- Original Message ----- 
  From: 
  Carlos 
  Sura 
  To: j.hendricksjr@xxxxxxxxxxx 
  Cc: php-general@xxxxxxxxxxxxx 
  Sent: Tuesday, July 13, 2010 10:48 
  AM
  Subject: RE:  Help with template 
  file and email
  

Let me get this right...

$mymail // If you put an 
  email adress it works, right. You are calling variable $mymail... But, what 
  does contain that var? You are calling $mymail, there has to be a database, or 
  something of those 10 mails you said. -If i'm getting you the point right- If 
  not, my mistake.

Or you might use something like 
  this:

<?php
// mail list
$to  = 'yourmail1@xxxxxxxxxxx' . ', ';
$to 
  .= 'yourmail2@xxxxxxxxxxx';


If my 
  answer is wrong for you. Plrease reffer to: 
  http://docs.php.net/manual/en/function.mail.php -as Richard 
  said.-





> From: rquadling@xxxxxxxxx
> 
  Date: Tue, 13 Jul 2010 15:02:14 +0100
> To: 
  j.hendricksjr@xxxxxxxxxxx
> CC: php-general@xxxxxxxxxxxxx
> 
  Subject: Re:  Help with template file and email
> 
> On 13 
  July 2010 14:56, Joey Hendricks <j.hendricksjr@xxxxxxxxxxx> 
  wrote:
> > Hello,
> >  I have been working on a birtday 
  invite program. The form takes 10 names and 10 email addresses. I think the 
  problem is the $to variable in my function. I get this warning-Warning: mail() 
  [function.mail]: SMTP server response: 550 5.5.0 <f> domain name 
  required in.....
> > Could someone help me with this my email is 
  j.hendricksjr@xxxxxxxxxxx Thank you so very much!
> 
> 
  <?php
> mail(' j.hendricksjr@xxxxxxxxxxx', 'Test email', 'This is a 
  test email');
> ?>
> 
> and I get the following entry in 
  my PHP's mail.log ...
> 
> mail() on [-:2]: To: 
  j.hendricksjr@xxxxxxxxxxx -- Headers:
> 
> Pretty simple 
  stuff.
> 
> 
  http://docs.php.net/manual/en/function.mail.php
> 
> 
  Regards,
> 
> Richard.
> 
> -- 
> PHP General 
  Mailing List (http://www.php.net/)
> To unsubscribe, visit: 
  http://www.php.net/unsub.php
> 


  
  Get a new e-mail account with Hotmail - Free. Sign-up 
  now.  		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux