CatalystX-ASP
view release on metacpan or search on metacpan
specified, then the `Global` directory in which the `global.asa` resides, and
finally the `IncludesDir` setting.
- MailHost
The mail host is the SMTP server that the below Mail\* config directives will
use when sending their emails. By default [Net::SMTP](https://metacpan.org/pod/Net::SMTP) uses SMTP mail hosts
configured in [Net::Config](https://metacpan.org/pod/Net::Config), which is set up at install time, but this setting
can be used to override this config.
The mail hosts specified in the Net::Config file will be used as backup SMTP
servers to the `MailHost` specified here, should this primary server not be
working.
__PACKAGE__->config('CatalystX::ASP' => {
MailHost => 'smtp.yourdomain.com.foobar' });
- MailFrom
No default. Set this to specify the default mail address placed in the `From:`
mail header for the `$Server->Mail()` API extension
lib/CatalystX/ASP.pm view on Meta::CPAN
default => sub { [ shift->Global() ] },
);
=item MailHost
The mail host is the SMTP server that the below Mail* config directives will
use when sending their emails. By default L<Net::SMTP> uses SMTP mail hosts
configured in L<Net::Config>, which is set up at install time, but this setting
can be used to override this config.
The mail hosts specified in the Net::Config file will be used as backup SMTP
servers to the C<MailHost> specified here, should this primary server not be
working.
__PACKAGE__->config('CatalystX::ASP' => {
MailHost => 'smtp.yourdomain.com.foobar' });
=cut
has 'MailHost' => (
is => 'ro',
( run in 1.588 second using v1.01-cache-2.11-cpan-49f99fa48dc )