Hello, --- In php-objects@xxxxxxxxxxxxxxx, "happen_se" <happen_se@xxxx> wrote: > I want to send email by php but i want to use an smtp server like gmail > I have pop3 account at this and my host dosent have smtp server. > and I want to use gmail. Is there anyway!? If you are not using Windows, you can't use the mail() function. Under Linux/Unix, you can use try this class that comes with a wrapper named smtp_mail() that emulates the mail() function, but lets you route the message via a SMTP server of choice: http://www.phpclasses.org/mimemessage You also need this: http://www.phpclasses.org/smtpclass If you need to perform SMTP authentication, you also need to use this in conjunction: http://www.phpclasses.org/sasl Regards, Manuel Lemos ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/