Sending Email to CustomField upon closure

Hi All ,

Could you please help me creating a custom scrip by which on a ticket
resolution it send a resolution notify to an email address put in a
CustomeField say “CustomFieldValues(10)” .

Something like ?

Mailto : my $To = $self->TicketObj->CustomFieldValues(10);

Thanks a lot .

Kind Regards
Vikas Srivastava