× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Have a look at the Grant User Permission, GRTUSRPMN, command.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom Liotta
Sent: Wednesday, August 18, 2004 7:01 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Change sender in SNDDST command


I know this is late, but haven't had a lot of time here lately.

An alternative is to execute the SNDDST in a separate usrprf(*OWNER)
program that has sufficient authority to call the QSYGETPH and QWTSETP
APIs to swap to a generic profile. The SNDDST will run under the new
*CURRENT user, then the swap can be reversed before returning to the
calling program.

The generic profile would be the only one needing an SMTP address in the
system directory. The address might be CONFIRMORDERS@xxxxxxxxxxxxx or
SUPPORT@xxxxxxxxxxxxx or whatever is needed for a given generic
procedure.

Of course, this doesn't mean individual users shouldn't have SMTP
addresses, but this technique can reduce maintenance.

Tom Liotta

midrange-l-request@xxxxxxxxxxxx wrote:

>   1. Re: Change sender in SNDDST command (rob)
>
>1)  For each and every possible user of SNDDST do a WRKDIRE, F19 and 
>enter a valid email address.
>2)  Use a command exit point program to convert from SNDDST to a 
>command that does not rely upon the WRKDIRE and maybe even default to 
>the sender to something like postmaster@xxxxxxxx
>
>
>Subject
>Change sender in SNDDST command
>
>Hi all,
>
>I'm setting up a program that uses the SNDDST command to deliver bulk 
>e-mails to our constituents. The e-mail gets delivered with this 'From'

>field: SPOTSYPR?SPOTSY@xxxxxxxxxxxxxxxxxxxxxxxx
>I need to change it to a live address so that the recipients will be
>able to respond.
>Does anybody know if this can be done?

-- 
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertech.com


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at
http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.