use GT::Mail;
# Create and Sending
GT::Mail->send (
smtp => 'gossamer-threads.com',
to => 'scott@gossamer-threads.com',
from => 'scott@gossamer-threads.com',
subject => 'Hello!!',
msg => 'I am a text email'
) or die "Error: $GT::Mail::error";
Gives me an error:Can't locate object method "send" via package "GT::Mail" (perhaps you forgot to load "GT::Mail"?) at Dbsql::Home::send_info line 8.Its referring to this line: GT::Mail->send Any help appreciated.... I had this working before :)
# Create and Sending
GT::Mail->send (
smtp => 'gossamer-threads.com',
to => 'scott@gossamer-threads.com',
from => 'scott@gossamer-threads.com',
subject => 'Hello!!',
msg => 'I am a text email'
) or die "Error: $GT::Mail::error";
Gives me an error:Can't locate object method "send" via package "GT::Mail" (perhaps you forgot to load "GT::Mail"?) at Dbsql::Home::send_info line 8.Its referring to this line: GT::Mail->send Any help appreciated.... I had this working before :)