waseemkayani Posted January 27, 2009 Share Posted January 27, 2009 OS [Windows XP Professional] Web Server [Apache2Triad] Email Client [ThunderBird] Email Server [ArGoSoft Mail] ---------------------------- Q. How to send email directly from localhost to Gmail, Yahoo or Hotmail account? Do I really need email client and email server? Do I need to configure "Server.tab" file or "PHP.ini" or both? Scenario is; I do not want to upload the WebApplication, I want it to be locally hosted (Of course Internet connectivity is there for sending/receiving emails etc) Is it something like >> LocalHost will send text body, email header etc to Email Server and Email Server will use an existing email account (say [email protected] etc) for sending mails to any other account ?? Is there anyone to help me out?... Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/142599-how-to-send-email-from-localhost-to-gmail-yahoo-hotmail-using-php-mail/ Share on other sites More sharing options...
uniflare Posted January 27, 2009 Share Posted January 27, 2009 You can download "Free SMTP Server"s, they are like messengers, you ust click and install the server, and make sure ur php.ini smtp.path or w/e it is, is set to localhost. Most free smtp server software is buggy and unreliable. The other option would be to use a Mailer class library like PHPMailer to use authentication, you can use googles smtp server to send data to other emails then. Link to comment https://forums.phpfreaks.com/topic/142599-how-to-send-email-from-localhost-to-gmail-yahoo-hotmail-using-php-mail/#findComment-747435 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.