Solved

In Wamp server send smtp email to Rackspace mail from php code

Posted on 2015-02-18
5
390 Views
Last Modified: 2015-02-19
running WAMP server on win7 pro. I need a simple, php smtp email function to send a user their user id and password through our rackspace mail account, when they click on a "Forgot Login" button. I have the ssl and auth info from rackspace and I have the users info from our mysql user table. Everything I've seen as open source so far seems like much more than I need.
0
Comment
Question by:jsgould
  • 3
  • 2
5 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40617418
WAMP server does not include a SMTP server so you can't use the built-in 'mail()' function in PHP.  You can use PHPMailer which can connect to a remote mail server with a login.  It may look like a lot but there is no 'simple' way to do it.  Click on "Download ZIP" on this page: https://github.com/PHPMailer/PHPMailer   After you understand how it works, there are only 3 or 4 files that you need for your own use.  Most of the files are tests and examples.
0
 

Author Comment

by:jsgould
ID: 40618171
Thank you. I understand all of that.
the link you provided just lists off a list of various downloads, which isn't very helpful to a newbie. What would be helpful is there a zip that contains the files that are needed (smtp, phpmailer, pear etc..), or a list of files that are required, such as
class.phpmailer.php, class.smtp.php, etc... For something that supposedly is the most used php mailer with 9+ million users getting the basic info seems a bit kludgey.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40618202
getting the basic info seems a bit kludgey
No argument there.  But since it is Open Source and not commercially supported, that's not unusual.  But I did say...

Click on "Download ZIP"   Install (unzip) it into directories in your web server.  Go thru the examples until you understand what you need.  This is not going to be an instant solution.
0
 

Author Closing Comment

by:jsgould
ID: 40619091
Apologize for whining to you. I'll follow ur advice and labor through it. Thanks
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40619407
You're welcome, it can be a pain when you first use it.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dynamic Dropdowns 15 32
Apache module 5 47
ajax to record click 3 16
if (is_singular not working 5 18
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question