[rt-users] No To: Field being generated.

Mauricio Tavares raubvogel at gmail.com
Fri May 14 17:34:36 EDT 2010


On Tue, May 11, 2010 at 3:21 PM, Ruslan Zakirov <ruz at bestpractical.com> wrote:
> Mauricio,
>
> Without logs and additional info we can not help you.
>
     Sorry for that. I sent a test email,

From: Mauricio Tavares <raubvogel at gmail.com>
To: support at domain.com
Date: Wed, May 12, 2010 at 3:28 PM
Subject: A Test

Here is the output of the RT log file for that ticket:

[Wed May 12 19:28:41 2010] [debug]: Converting 'ISO-8859-1' to 'utf-8'
for text/plain - A Test
(/usr/share/request-tracker3.6/lib/RT/I18N.pm:240)
[Wed May 12 19:28:41 2010] [debug]: About to think about scrips for
transaction #21919
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:167)
[Wed May 12 19:28:41 2010] [debug]: About to think about scrips for
transaction #21920
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:167)
[Wed May 12 19:28:41 2010] [debug]: About to think about scrips for
transaction #21921
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:167)
[Wed May 12 19:28:41 2010] [debug]: About to think about scrips for
transaction #21922
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:167)
[Wed May 12 19:28:41 2010] [debug]: About to think about scrips for
transaction #21923
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:167)
[Wed May 12 19:28:41 2010] [debug]: About to prepare scrips for
transaction #21923
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:171)
[Wed May 12 19:28:41 2010] [debug]: Found 5 scrips
(/usr/share/request-tracker3.6/lib/RT/Scrips_Overlay.pm:365)
[Wed May 12 19:28:42 2010] [debug]: About to commit scrips for
transaction #21923
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:180)
[Wed May 12 19:28:42 2010] [info]:
<rt-3.6.7-23269-1273692521-949.1186-3-0 at domain.com> #1186/21923 -
Scrip 3  (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:266)
[Wed May 12 19:28:42 2010] [info]:
<rt-3.6.7-23269-1273692521-949.1186-3-0 at domain.com> sent  To:
raubvogel at gmail.com
(/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:297)
[Wed May 12 19:28:42 2010] [debug]: About to think about scrips for
transaction #21924
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:167)
[Wed May 12 19:28:42 2010] [info]:
<rt-3.6.7-23269-1273692522-49.1186-4-0 at domain.com> #1186/21923 - Scrip
4  (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:266)
[Wed May 12 19:28:42 2010] [info]:
<rt-3.6.7-23269-1273692522-49.1186-4-0 at domain.com> sent  Bcc:
banana2 at domain.com, banana1 at domain.com, banana3 at domain.com,
banana4 at domain.com, banana5 at domain.com
(/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:297)
[Wed May 12 19:28:42 2010] [debug]: About to think about scrips for
transaction #21925
(/usr/share/request-tracker3.6/lib/RT/Transaction_Overlay.pm:167)
[Wed May 12 19:28:42 2010] [info]:
<rt-3.6.7-23269-1273692522-1233.1186-16-0 at domain.com> #1186/21923 -
Scrip 16 Notify Cc when ticket is created
(/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:266)
[Wed May 12 19:28:42 2010] [info]:
<rt-3.6.7-23269-1273692522-1233.1186-16-0 at domain.com> No recipients
found. Not sending.
(/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:278)
[Wed May 12 19:28:42 2010] [info]: Ticket 1186 created in queue
'Support' by raubvogel at gmail.com
(/usr/share/request-tracker3.6/lib/RT/Ticket_Overlay.pm:756)

I believe the line that is telling me the To: field is not being populated is

[Wed May 12 19:28:42 2010] [info]:
<rt-3.6.7-23269-1273692522-1233.1186-16-0 at domain.com> No recipients
found. Not sending.
(/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:278)

Does this help any?
> On Tue, May 11, 2010 at 6:25 PM, Mauricio Tavares <raubvogel at gmail.com> wrote:
>> For some reason messages/tickets sent by RT have no To: Fields, only
>> Reply-To:. Why would it be doing that? Looking into SendEmail.pm,
>>
>> sub To {
>>    my $self = shift;
>>    return ($self->_AddressesFromHeader('To'));
>> }
>>
>> it makes me think the To: field in the head object was not
>> extracted/populated. Am I on the right track or just idling aimlessly?
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>
>
>
> --
> Best regards, Ruslan.
>



More information about the rt-users mailing list