🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #398

Help on mailer.

#398
From: Richard Li
Date: Mon, 03 Nov 2003 19:50
19 lines
1501 bytes
Hi there,

I made a sendMessage function in JSP Bean class in order to send message and
it is successful.
The code is like this
            Qsmtp mailer = new Qsmtp("smtp.exchange.missouri.edu");
            mailer.setFromAddress("www@www.cf.missouri.edu");
            mailer.setToAddress("lix@missouri.edu");
            mailer.setSubject("Contract Payment.");
            mailer.sendmsg();

Here is the request that instead of display the Sender
www@www.cf.missouri.edu, the user likes to display "Project Manager" as the
Sender.
Is it possible to do that?

Thanks ahead!

Richard Li
Technical Details
Message-ID: <3fa6b194$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,5d8442fd68f88448,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-11-03 12:10:57 PST
Reply-To: "Richard Li" <lix@missouri.edu>
From: "Richard Li" <lix@missouri.edu>
Newsgroups: borland.public.jbuilder.java.api
Subject: Help on mailer.
Date: Mon, 3 Nov 2003 13:50:47 -0600
Lines: 21
Organization: UMC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 128.206.190.121
Message-ID: <3fa6b194$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067889044 128.206.190.121 (3 Nov 2003 11:50:44 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail