Solved

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

Posted on 2015-02-18
5
440 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

This article discusses how to create an extensible mechanism for linked drop downs.
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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