Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

How to instantiate an instance of CcMail in JSP ?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody,
Happy New Year!
I need ur urgent help plx help me.
i am developing an application which is in JSP. I have to send mail to a user who is having account in CcMail from my application when it is running . e.g. I am running a JSP page of my application which is having a submit button. so On Submit it will open next JSP page n it should automatically send a mail 2 a user of CcMail.
How can I do this in JSP (or C so that I can use JNI).
Thanking u.
regards,
Pooja
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Javamail you can send to SMTP and I think IMAP as well.
There might be a plugin to Javamail (probably from Lotus themselves) to send to CCMail as well, but as CCMail is very old indeed and superceded by Lotus Notes it could well be that they never went to the trouble.
In that case you will need to use SMTP or IMAP, a corresponding mailserver, and configure the CCMail server to accept email via SMTP or IMAP from that server.
It might be easier to get your organisation to replace CCMail with something else
 
pooja kadam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeroen Wenting
Thanks for ur reply. I ll try by this way n ll let u know.
regards n best wishes,
Pooja
 
pooja kadam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeroen
Thanks 4 ur help. I tried it using SMTP(JavaMail) n it worked out.
best wishes
Pooja
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic