Sending Email

This is a discussion on "Sending Email" within the JavaScript Forum section. This forum, and the thread "Sending Email are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 9th, 2006, 13:15
Junior Member
Join Date: Jul 2006
Location: spain
Age: 20
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Sending Email

I have been looking around all day and i cant find out how to do this, i have a form with a submit button, i want the user to fill in the form and click submit( and have a email sent to me with the form results), then up comes a seperate page with a link back to the main page.

But i dont want to use the mailto: i was wondering if their is a way to send the email without having the outlook express message sender popping up, i know you can do it i remember seeing it with the smtp, is their a built in function in jsp.

The email address(to) and the subject will be preditermind and i will have a standard email body.
Reply With Quote

  #2 (permalink)  
Old Jul 9th, 2006, 15:41
Junior Member
Join Date: Jul 2006
Location: spain
Age: 20
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Sending Email

i have since been reading on this and found that you use php i have posted another thread in the PHP forum so if you know how to send a email using php please reply(i have tried the mail() function and it doesnt work, any ideas)
Reply With Quote
  #3 (permalink)  
Old Jul 9th, 2006, 22:15
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: Sending Email

I will reply in the PHP forum.
Reply With Quote
  #4 (permalink)  
Old Jul 29th, 2006, 03:16
New Member
Join Date: Jul 2006
Location: hk
Age: 28
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Sending Email

"is their a built in function in jsp?"
There isn't a built in function in jsp,but you can sue javamil .
Give you some sample code
Code: Select all
Properties props = System.getProperties();
props.put("mail.smtp.host", host);
    props.put("mail.smtp.auth","true");
    // Setup mail server
    Authenticator auth = new MyAuthenticator();
Session session = Session.getDefaultInstance(props, auth);
Reply With Quote
Reply

Tags
sending, email

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP email form not sending email Kurt PHP Forum 1 Oct 12th, 2007 04:26
sending email fails flann Hosting & Domains 1 Feb 17th, 2007 23:38
sending email arrays with php ppgpilot PHP Forum 2 Jan 25th, 2007 16:49
Email + attachment sending manzil PHP Forum 1 Aug 4th, 2006 13:40
Sending email Paul00000001 PHP Forum 6 Jul 10th, 2006 11:49


All times are GMT. The time now is 22:48.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43