Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2015-02-18
5
Medium Priority
?
533 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

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 84

Expert Comment

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

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to count occurrences of each item in an array.
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…

670 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