This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
sending mail and Clicking a link in the mail
Joined: Jul 10, 2013
Aug 01, 2013 01:47:54
hello i am using "Spring Mail" to send mail to the user, and also i am sending a link to click, after clicking that link it should redirect to my registration page, how to do that?
here is the sample code, i am setting Html text to user using MimeMessageHelper.setText() method.. in href i am passing just the ip address of my machine... is it the correct way?
MimeMessageHelper helper=new MimeMessageHelper(message, true);
helper.setText("please click below link to activate your account and further processiong","<html><a href="+"192.168.1.3"+">plase Click</a></html>");
I agree. Here's the link:
subject: sending mail and Clicking a link in the mail
Rich html email in spring
problem sending mail with spring javamailsender
Refer friend link
set return path in MimeMessage
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015