Re: Get recipients

Richard Laager <[email protected]>
Newsgroups gmane.mail.mimedefang
Message-ID <[email protected]>
On 04/11/2017 10:09 AM, Stagiair 2. Cisa wrote:
> I've checked on capitals and this was fine. It looked like a non-existing or empty array.
> 
> After some testing I've found out the array actually really exists and I can access it.
> The only problem is that the values (the different recipients addresses) are empty in the array.
> 
> When I send to 3 recipients, it actually sees that there are 3 recipients but instead of giving me the addresses it returns an empty string.
> So I think the array is like
> 	@Recipients = ("", "", "");
> 
> Same for 2 recipients, it sees there are 2 but returns empty strings.
> 	@Recipients = ("", "");
> 
> I tried using foreach to get the recipients out of the array.
> I've also tried using #Recipients[i], but no success either.

Please keep your replies on-list, not just to me individually.

I don't know why you'd be seeing that. I use @Recipients extensively in
my filter and it works fine.

I'd probably try sticking some syslog calls in mimedefang.pl (the actual
mimedefang code) where it sets @Recipients. Then trace from there.

-- 
Richard
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.