Hi,
Anyone have any idea why this:
GT::Mail->send (
sendmail => $CFG->{db_mail_path},
to => $USER->{Email},
from => $CFG->{db_admin_email},
subject => 'TEXT EMAIL',
msg => ""
);
GT::Mail->send (
sendmail => $CFG->{db_mail_path},
to => $CFG->{db_admin_email},
from => $USER->{Email},
subject => 'TEXT EMAIL',
msg => ""
);
Generates this error:
A fatal error has occured:
Please enable debugging in setup for more details.
BTW Sending the first email on its own works fine.
Anyone have any idea why this:
GT::Mail->send (
sendmail => $CFG->{db_mail_path},
to => $USER->{Email},
from => $CFG->{db_admin_email},
subject => 'TEXT EMAIL',
msg => ""
);
GT::Mail->send (
sendmail => $CFG->{db_mail_path},
to => $CFG->{db_admin_email},
from => $USER->{Email},
subject => 'TEXT EMAIL',
msg => ""
);
Generates this error:
A fatal error has occured:
GT::Mail::Parts (32353): Wrong argument passed to this subroutine. Usage: $obj->set ($tag, $value, $pos); $pos is optional but $tag and $value is not at admin/GT/Mail/Parts.pm line 170.
Please enable debugging in setup for more details.
BTW Sending the first email on its own works fine.