RT::CorrespondenceAddress.not.set

In config.pm where this line appears, should I change it to be as follows:

$CorrespondAddress=‘RT::someone@an.email.address’ or should it be:
$CorrespondAddress=‘someone@an.email.address’

I’ve looked for the answer in the docs, but can’t find it. Thanks.

Dave Hull
Senior Information Technology Analyst
The University of Kansas
voice: (785) 864-0403 || (785) 864-5621
fax: (785) 864-0485
http://insipid.cc.ukans.edu/dphull

In config.pm where this line appears, should I change it to be as follows:

$CorrespondAddress=‘RT::someone@an.email.address’ or should it be:
$CorrespondAddress=‘someone@an.email.address’

It should look like:
$CorrespondAddress=‘RT::user@foo.com’

I’ve looked for the answer in the docs, but can’t find it. Thanks.

Dave Hull
Senior Information Technology Analyst
The University of Kansas
voice: (785) 864-0403 || (785) 864-5621
fax: (785) 864-0485
http://insipid.cc.ukans.edu/dphull

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

“BT” == Bryant Taylor btaylor@virata.com writes:

BT> It should look like:
BT> $CorrespondAddress=‘RT::user@foo.com’

Not at all. It should look like a regular email address.

You don’t want any backslash in there, and you don’t want any RT:: up
front.

|+ BT> It should look like:
|+ BT> $CorrespondAddress=‘RT::user@foo.com’
|+
|+ Not at all. It should look like a regular email address.
|+
|+ You don’t want any backslash in there, and you don’t want any RT:: up
|+ front.

Why don’t you want to escape the ‘@’ ?

I have mine set to:

$CorrespondAddress=‘noc@nixc.net’; and it works as expected.

-darrin

My bad… forgot to take out the RT:: but yes, you do want the \ so that
you can excape the @-----Original Message-----
From: Vivek Khera [mailto:khera@kcilink.com]
Sent: Thursday, January 24, 2002 10:18 AM
To: ‘Rt-Users’
Subject: RE: [rt-users] RT::CorrespondenceAddress.not.set

“BT” == Bryant Taylor btaylor@virata.com writes:

BT> It should look like:
BT> $CorrespondAddress=‘RT::user@foo.com’

Not at all. It should look like a regular email address.

You don’t want any backslash in there, and you don’t want any RT:: up
front.

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

“DW” == Darrin Walton darrinw@nixc.net writes:

DW> |+ BT> It should look like:
DW> |+ BT> $CorrespondAddress=‘RT::user@foo.com’
DW> |+
DW> |+ Not at all. It should look like a regular email address.
DW> |+
DW> |+ You don’t want any backslash in there, and you don’t want any RT:: up
DW> |+ front.

DW> Why don’t you want to escape the ‘@’ ?

Because it is a single-quoted string. There are no escapes in a
single quoted string, except for the single quote: '

DW> I have mine set to:

DW> $CorrespondAddress=‘noc@nixc.net’; and it works as expected.

Some other layer of software is cleaning out the \ for you, or you’ve
never need to use this variable.

“BT” == Bryant Taylor btaylor@virata.com writes:

BT> My bad… forgot to take out the RT:: but yes, you do want the \ so that
BT> you can excape the @

There are no escapes inside of a single quoted string, except for '

BT> -----Original Message-----
BT> From: Vivek Khera [mailto:khera@kcilink.com]
BT> Sent: Thursday, January 24, 2002 10:18 AM
BT> To: ‘Rt-Users’
BT> Subject: RE: [rt-users] RT::CorrespondenceAddress.not.set

“BT” == Bryant Taylor btaylor@virata.com writes:

BT> It should look like:
BT> $CorrespondAddress=‘RT::user@foo.com’

BT> Not at all. It should look like a regular email address.

BT> You don’t want any backslash in there, and you don’t want any RT:: up
BT> front.

BT> _______________________________________________
BT> rt-users mailing list
BT> rt-users@lists.fsck.com
BT> http://lists.fsck.com/mailman/listinfo/rt-users

My bad… forgot to take out the RT:: but yes, you do want the \ so that
you can excape the @

FYI, you don’t need to escape the @ when the value is within single
quotes. It will still work, but its unnecessary. The escape is only
needed when the value is within double quotes.

$CorrespondAddress=‘user@foo.com’;

$CorrespondAddress=“user@foo.com”;