Solved

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

Posted on 2015-02-18
5
499 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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.
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

623 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