Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Can't locate object method "send"...

Quote Reply
Can't locate object method "send"...
 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 :)
Quote Reply
Re: [Suomi] Can't locate object method "send"... In reply to
It seems that GT::Mail is not available

Cheers,

Dat

Programming and creating plugins and templates
Blog