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
Itsik Dangoor
Front End Web Development Techdegree Student 5,330 PointsHow to send message to specific e-mail address directly, without opening up the local client email OR using Server side?
Hello,
I want to build a form that have inputs like name and details and message(textarea) and a send button, once the user click on the button it's send all the info above to directly to a specific email.
No outlook(local email program opens up, "mailto"). No Server side that get control on this action.
just clicking and sending the info to specific e-mail address.
thank you
1 Answer
Ted Sumner
Courses Plus Student 17,967 PointsI do not think you can send an email that uses neither the local computer's email program nor a server side solution. What computer do you envision sending it? It has to be the user computer or the server to my knowledge.
Itsik Dangoor
Front End Web Development Techdegree Student 5,330 PointsItsik Dangoor
Front End Web Development Techdegree Student 5,330 Pointsthank you for replay. but I am seeking YES answer. might be with the development of JavaScript features it can be done.
thank you
Ted Sumner
Courses Plus Student 17,967 PointsTed Sumner
Courses Plus Student 17,967 PointsI am sure there are a variety of ways to create the message, but the issue is sending it. Even if JavaScript creates the message, you need a computer somewhere to process and send the email to the recipient. For example, it is not possible to send an email from a local environment unless you configure an email client in your server software.
I either do not understand what you want or I don't think it is possible. I will follow this question with interest.