Click here to Skip to main content
15,887,585 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: asp pages Pin
Illegal Operation23-Feb-06 2:40
Illegal Operation23-Feb-06 2:40 
QuestionJavascript Photo Gallery Pin
Trey549822-Feb-06 5:52
Trey549822-Feb-06 5:52 
QuestionError:Automation server can't create object Pin
idreesbadshah21-Feb-06 7:18
idreesbadshah21-Feb-06 7:18 
AnswerRe: Error:Automation server can't create object Pin
Vasudevan Deepak Kumar21-Feb-06 20:19
Vasudevan Deepak Kumar21-Feb-06 20:19 
Questioncalling dll in javascript Pin
idreesbadshah21-Feb-06 2:30
idreesbadshah21-Feb-06 2:30 
AnswerRe: calling dll in javascript Pin
CWIZO21-Feb-06 3:48
CWIZO21-Feb-06 3:48 
AnswerRe: calling dll in javascript Pin
Shog921-Feb-06 7:39
sitebuilderShog921-Feb-06 7:39 
Questionhel;p to solve the multipart/alternative and resolve the ParseException Pin
more.deepak20-Feb-06 23:17
more.deepak20-Feb-06 23:17 
MimeMultipart multipart=new MimeMultipart("alternative");
MimeBodyPart contype=new MimeBodyPart();
contype.addHeaderLine(
"MIME-Version: 1.0; Content-Type:mutipart/alternative; boundary=boundrytexthtml");
MimeBodyPart plainPart = new MimeBodyPart();
plainPart.addHeaderLine(
"--boundarytexthtml; Content-Type: text/plain; charset=\"iso-8859-1\"");
plainPart.setText(textstr.toString());
plainPart.addHeaderLine(
"--boundarytexthtml; Content-Transfer-Encoding: quoted-printable");
MimeBodyPart htmlPart = new MimeBodyPart();
htmlPart.setContent(htmlstr.toString(), "--boundarytexthtml; text/html; charset=\"iso-8859-1\"");
htmlPart.addHeaderLine(
"--boundarytexthtml; Content-Type: text/html; charset=\"iso-8859-1\"");
htmlPart.addHeaderLine(
"Content-Transfer-Encoding: quoted-printable; --boundarytexthtml--");

multipart.addBodyPart(contype);
multipart.addBodyPart(plainPart);
multipart.addBodyPart(htmlPart);
BodyPart embedImage=new MimeBodyPart();


Enumeration ken = imgHash.keys();
Enumeration ven=imgHash.elements();
while(ken.hasMoreElements() || ven.hasMoreElements())
{
key = (String) ken.nextElement();

value=(String) ven.nextElement();
System.out.println(key+" : "+value);
String URLDataString="file:"+value;
DataSource ds=new URLDataSource(new URL(URLDataString));
embedImage.setDataHandler(new DataHandler(ds));
embedImage.setHeader("Content-ID","<key>");
multipart.addBodyPart(embedImage);
}


message.setContent(multipart);
message.setSentDate(new Date());
Transport.send(message);

} catch (AddressException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (MessagingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}


}


Regards,
Deepak More
Software Developer
Mumbai
QuestionConvert C# to VB code Pin
Chiari20-Feb-06 21:50
Chiari20-Feb-06 21:50 
AnswerRe: Convert C# to VB code Pin
jjrdk21-Feb-06 22:56
jjrdk21-Feb-06 22:56 
AnswerRe: Convert C# to VB code Pin
Srinu_ss522-Feb-06 1:20
Srinu_ss522-Feb-06 1:20 
Questioncreating a draw tool for a website Pin
silverP20-Feb-06 20:28
silverP20-Feb-06 20:28 
QuestionHow can i launch a windows form from a CGI Pin
Yayozama20-Feb-06 13:32
Yayozama20-Feb-06 13:32 
AnswerRe: How can i launch a windows form from a CGI Pin
George L. Jackson20-Feb-06 15:27
George L. Jackson20-Feb-06 15:27 
QuestionRetrieve client information Pin
fafsfaf20-Feb-06 7:53
fafsfaf20-Feb-06 7:53 
QuestionRe: Retrieve client information Pin
George L. Jackson20-Feb-06 15:31
George L. Jackson20-Feb-06 15:31 
AnswerRe: Retrieve client information Pin
fafsfaf21-Feb-06 2:21
fafsfaf21-Feb-06 2:21 
GeneralRe: Retrieve client information Pin
Craster21-Feb-06 4:40
Craster21-Feb-06 4:40 
QuestionHow to loggin ASP.NET project in the ASP project? Pin
Bright Zhang19-Feb-06 22:17
Bright Zhang19-Feb-06 22:17 
AnswerRe: How to loggin ASP.NET project in the ASP project? Pin
Bright Zhang20-Feb-06 14:39
Bright Zhang20-Feb-06 14:39 
AnswerRe: How to loggin ASP.NET project in the ASP project? Pin
Bright Zhang21-Feb-06 16:52
Bright Zhang21-Feb-06 16:52 
AnswerRe: How to loggin ASP.NET project in the ASP project? Pin
Mohamed Naseer27-Feb-06 5:50
Mohamed Naseer27-Feb-06 5:50 
QuestionUpdates for running web-application Pin
StrayCat19-Feb-06 21:37
StrayCat19-Feb-06 21:37 
AnswerRe: Updates for running web-application Pin
George L. Jackson20-Feb-06 15:41
George L. Jackson20-Feb-06 15:41 
QuestionRe: Updates for running web-application Pin
StrayCat20-Feb-06 21:38
StrayCat20-Feb-06 21:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.