},
{
- 'key' => 'send-to-domain',
+ 'key' => 'email-to-voice_domain',
'section' => 'email_to_voice_services',
'description' => 'The Domain to send email to voice to',
'type' => 'text',
my($class, $param) = @_;
my $conf = FS::Conf->new;
- my $send_to_domain = $conf->config('send-to-domain');
+ my $send_to_domain = $conf->config('email-to-voice_domain');
my $msgnum = $param->{msgnum};
my $from = delete $param->{from};
sub option_fields {
#my $conf = new FS::Conf;
- #my $to_domain = $conf->config('send-to-domain');
+ #my $to_domain = $conf->config('email-to-voice_domain');
(
'to_name' => { 'label' => 'Address To',
'fax' => 'Fax #',
'daytime' => 'Day Time #',
},
- 'post_field_label' => "@" , #. $to_domain ,
+ 'post_field_label' => "@", # . $to_domain ,
},
'msgnum' => { 'label' => 'Template',
my( $self, $object ) = @_;
my $conf = new FS::Conf;
- my $to_domain = $conf->config('send-to-domain')
+ my $to_domain = $conf->config('email-to-voice_domain')
or die "Can't send notice with out send-to-domain, being set in global config \n";
my $cust_main = $self->cust_main($object);
my $conf = FS::Conf->new;
my @no_search_fields = qw( action table from subject html_body text_body popup url );
-my $send_to_domain = $conf->config('send-to-domain');
+my $send_to_domain = $conf->config('email-to-voice_domain');
my $form_action = $opt{'form_action'} || 'email-customers.html';
my $process_url = $opt{'process_url'} || 'process/email-customers.html';