Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Matthew Stewart
Matthew Stewart
9,214 Points

PHP mailer vs. ASP??

Hi all — So I recently launched a website for a client, I created a contact form for her using php mailer based on what I learned in the building a simple php application class.

I just learned that for whatever reason, the company that she purchased hosting from (enom.com) does not support the use of php mailer!! I really don't understand why and find it very frustrating to say the least.

The option that they give on the site is to use something called ASP. Does anyone know of a place I could quickly learn how to make this contact form work using ASP?

Thanks in advanced, Matt

3 Answers

György Homonnai
György Homonnai
10,118 Points

You're question is ambiguous - at least for me. So, the hosting company does not allow to send e-mails using PHP's built-in mail() function? What I see on this page (http://www.enom.com/wsg/compare-linux.aspx) is that they provide a SMTP server. Have you tried sending e-mails through SMTP with PHP Mailer class? (https://github.com/Synchro/PHPMailer)

Matthew Stewart
Matthew Stewart
9,214 Points

Yes, PHP's mail() function is not supported due to inability to send mail with SMTP authentication. I am unfamiliar with sending emails through SMTP but I will check out the link you sent. Thanks for the help!

If you had ask this question about six months or so ago, the answer to learning ASP might have been w3schools.com. Unfortunately there is a new website up called w3fools.com who are pretty passionate about dispelling the myth about w3schools.com ability to teach any of there material as a creditable source. You might what to check with the w3fools website and have a look at what they have to say about the w3school and where they go wrong. It may not call into question their section on ASP.NET. Otherwise, the w3schools.com have been the primary place to go when trying to learn something fast and easily. there tutorials, are short and to the point. But, like I said, you might want to read about what other are saying about it before you decide to go with their website as your primary source of learning.

Otherwise, I would suggest going straight to the people who created ASP and learn that way. The web address, which can easily be found with a basic search on Google, is written below. Good luck to you with your project.

http://www.asp.net/get-started