I want to send mail using UTL_MAIl package in Oracle 11g. It is possible to use "smtp.gmail.com" google imap server as my SMTP server for this? please help?
BEGIN
EXECUTE IMMEDIATE 'ALTER SESSION SET smtp_out_server = ''smtp.google.com''';
UTL_MAIL.send(sender => 'sheran.ewisl@gmail.com',
recipients => 'mail@susantha.net',
subject => 'Test Mail',
message => 'Hello World',
mime_type => 'text; charset=us-ascii');
END;