🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help on mailer.

#399
From: Owen Green
Date: Mon, 03 Nov 2003 20:18
20 lines
1406 bytes
On Mon, 3 Nov 2003 13:50:47 -0600, Richard Li wrote:

> The code is like this
>             Qsmtp mailer = new Qsmtp("smtp.exchange.missouri.edu");
<snip>
> 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?

I'm not familar with the Qsmtp class, but if it accepts any valid RFC
(2)822 address string then using 

"Project Manager<www@www.cf.missouri.edu>" 

should  make most mail clients behave as you would like. 

hth
--
Owen
Technical Details
Message-ID: <18zb3l0xcdxiu.10oynx61olq1e$.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <3fa6b194$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,5d8442fd68f88448
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-11-03 12:34:31 PST
From: Owen Green <o.t.green@ntlworld.com>
Subject: Re: Help on mailer.
Newsgroups: borland.public.jbuilder.java.api
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <3fa6b194$2@newsgroups.borland.com>
Date: Mon, 3 Nov 2003 20:18:56 +0000
Message-ID: <18zb3l0xcdxiu.10oynx61olq1e$.dlg@40tude.net>
User-Agent: 40tude_Dialog/2.0.5.1
NNTP-Posting-Host: 80.1.205.234
X-Trace: newsgroups.borland.com 1067890813 80.1.205.234 (3 Nov 2003 12:20:13 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail