Re: [PHP] Configure mail to use Gmail smtp

2007-09-16 Thread Thomas Bachmann

ZF rocks ;)

debussy007 schrieb:

I succeeded using the Zend Framework.



debussy007 wrote:

Hello,

I have read here : http://www.geekzone.co.nz/tonyhughes/599
that I can use Gmail as a free SMTP server.

Is it possible to change the php.ini in order to have this running ?

I need to specify in some way the following :

Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use
authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587
Account Name:   your Gmail username (including '@gmail.com')
Email Address:  your original isp address ([EMAIL PROTECTED])
Password:   your Gmail password



I can see in the php.ini that I can specify the port, smtp server and the
from.

But how do I do for he other parameters ?

Thank you !!





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: split in to multiple pages (I think)

2007-09-16 Thread Thomas Bachmann

Why don't post an example of your news file too?

Joker7 schrieb:

Hi,
I'm using the code below to display news articles-which works great apart 
from. I can control the number of articles,but I would like to add a link to 
the bottom of the page to the un-displayed articles ( nexted 5 articles and 
so on) any pointers would be most welcome as most know my PHP skills are not 
the best :).


Cheers
Chris


", $old_news);

 $i=0;
 foreach ( $articles as $article ){
  if(count($articles)>$i){
   if($max_latest >= $i++){
print $article;
   }
  }
 }

?>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php