Sending Email from Localhost to Gmail, Yahoo, Hotmail using?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
waseemkayani
Forum Newbie
Posts: 2
Joined: Mon Jan 26, 2009 11:14 pm

Sending Email from Localhost to Gmail, Yahoo, Hotmail using?

Post by waseemkayani »

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 through Gmail's account)

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 im@gmail.com etc) for sending mails to any other account ??

Is there anyone help me out. Thanks in advance.
Last edited by waseemkayani on Tue Jan 27, 2009 12:28 am, edited 1 time in total.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Sending Email from Localhost to Gmail, Yahoo, Hotmail using?

Post by Chris Corbyn »

If you want to send through Gmail then you don't need your own mail server installed, you just connect directly to Gmail.

There are instructions for doing this in the wiki ;)
waseemkayani
Forum Newbie
Posts: 2
Joined: Mon Jan 26, 2009 11:14 pm

Re: Sending Email from Localhost to Gmail, Yahoo, Hotmail using?

Post by waseemkayani »

Will you please tell me the url for those instructions... (Wiki instructions)

Thank you.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Sending Email from Localhost to Gmail, Yahoo, Hotmail using?

Post by Chris Corbyn »

http://swiftmailer.org/wikidocs/v3/connections/smtp

You'll also need to read the tutorials that show how you actually send the email since that page merely explains how to connect to Gmail.
Post Reply