Well, this is weird. I have the following code in a plugin;
require GT::Mail;
GT::Mail->send (
to => $PersonEmail1,
from => $TheirEmail,
subject => "$Subject",
msg => "$send_message",
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
type => 'html'
) or return Links::language ('VAL_CANTEMAIL', $GT::Mail::error);
For some reason, its sending the email, but the message is not being shown...and 2 mangled attachments (*.dat) are attached to the email. Anyone see/know why? Is it a bug in Links SQL, or is there something I'm missing?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
my $send_message = "message here"; require GT::Mail;
GT::Mail->send (
to => $PersonEmail1,
from => $TheirEmail,
subject => "$Subject",
msg => "$send_message",
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
type => 'html'
) or return Links::language ('VAL_CANTEMAIL', $GT::Mail::error);
For some reason, its sending the email, but the message is not being shown...and 2 mangled attachments (*.dat) are attached to the email. Anyone see/know why? Is it a bug in Links SQL, or is there something I'm missing?

Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!