E
Electrorog
Can anyone help me solve this error? I'm trying to write a function in
Postgres. I do not and cannot install the language plperlu as I am not
a superuser (thinking this may have to do with my problem).
CREATE FUNCTION send_email () RETURNS LANGUAGE plperl AS
$$use Mail::Sendmail;
%mail = (To =>'(e-mail address removed)',
From =>'(e-mail address removed)',
Subject =>'Test',
Message =>"Testing Testing 123\n);
sendmail(%mail) or die $Mail::Sendmail::error;
return;$$;
Thanks!
Postgres. I do not and cannot install the language plperlu as I am not
a superuser (thinking this may have to do with my problem).
CREATE FUNCTION send_email () RETURNS LANGUAGE plperl AS
$$use Mail::Sendmail;
%mail = (To =>'(e-mail address removed)',
From =>'(e-mail address removed)',
Subject =>'Test',
Message =>"Testing Testing 123\n);
sendmail(%mail) or die $Mail::Sendmail::error;
return;$$;
Thanks!