SMTP service on in oracle database to send mail directly from oracle databa
I want to send mail from my oracle database.
I have followed the steps below:
1> Run utlmail.sql & prvtmail.plb
2>set smtp_out_server parameter
3>To send mail, execute utl_mail.send(sender=>'',recipients=>'',message=>'ABC');
My concept is to provide smtp/mail server ip & port in smtp_out_server parameter's value.
But One person said that oracle database server can make itself as a smtp server.So that we can assign database server ip & port in smtp_out_server parameter's value.We have to just on the smtp service in oracle database itself.There is no requirement of smtp/mail server ip & port.Is it true?How can we do that?
In google to Add an SMTP Service,the document said in the 1st line that on the Services tab on the left, select a Process tree node (for example, the default Oracle Enterprise Gateway).
I am sorry to say that I did not find that.Anyone can help me please?
Please reply anyone.
Edited by: 979620 on Feb 6, 2013 3:20 AM
Hi Richa:
As you mentioned, it has been working for the last six moneth. Was there any changes before it stopped working?
Also you mentioned you were able to recieve mails from Domain user. Could you please get the Internet Headers: Open a mail from domain sender -> file ->property -> Internet Headers, send it with a mail to me:[email protected]
Meanwhile, as this is a Office 365 related issue, it is better to post your quesetion in
this forum. Thank you.
Similar Messages
-
# 1: I am quite unsophisticated with digital technology--some would call me ignorant in this regard, just so you know.
I use contact manager ACT! by Sage. I have upgraded to a version that allows emailing from within the ACT! application. I would like to use my gmail account and Firefox to send emails from ACT! The people at ACT! say I can use any email service that offiers POP3 and SMTP. I checked and gmail has both. However, gmail says that they do not have instructions for configuring Mozilla Firefox for use with (if I understand correctly) gmail's POP3 and SMTP. So what I want to know is: has anyone done the ACT1, gmail, Firefox connecting and can they send me step-by-step instructions on how to do it? Thank you.Thanks. I've made progress. I have set up ACT! to to use my gmail account. But a problem arose. Do you know if ACT! is set up for SSL related to POP3? I completed the first two items on the test email and failed the last two.
Also, I went back to Tools Preferences E-mail tab and clicked E-mail system set up the window is blank (my gmail account is gone) and I cannot get to Page 3.
Any thoughts? -
Can't send mail directly from firefox via outlook 2010...
I can't make my outlook a default program with my firefox
You need to export from WLM and yes, the headers will be blank. If you have an old computer with OE on it, you can export to Outlook then move the pst to the new computer.
Diane, I just purchased Outlook 2010 and have a serious issue with losing the header information when exporting data from
Windows Mail. It seems that Microsoft recently fixed this problem (partially) which I found referenced on a different site. I went to the control panel (I'm using Vista), and ran Windows Update. After updating both the Important and the Optional items, I went
into Outlook 2010 and imported my mail and contacts from Windows Mail. The header information does now import correctly. However, in WM there is a column which shows you from which of your accounts an email arrived. In Outlook it's called "Category". This
information remains lost after the migration, and the entire column is empty (though new emails that are downloaded do get tagged properly). Can you tell me how to re-import my messages without losing this information? Would using your workaround of importing
the files into an earlier version of Outlook solve this problem? If so, which version should I use? -
How to send JMS message from oracle to weblogic
Hello,
I am facing with a problem of sending jms message from oracle to weblogic. I am using oracle 10g and weblogic server 9.1. Here is the problem. I would like to create a trigger to send JMS message to weblogic server whenever there is an update in oracle database. So I created a java class that will send a jms message to weblogic server. But in that class I use the jndi from weblogic: weblogic.jndi.WLInitialContextFactory
when I use the loadjava utility to load that class into oracle, the status of that class is invalid though this class is working fine in eclipse with the weblogic.jar included. I was thinking because the jndi from weblogic needs the weblogic.jar in order to work, then I loaded that jar file into oracle (it took about 20 minute to load everything) and everything loaded into oracle from that jar file is invalid and missing some reference.
So my question is: how do I send a jms message from oracle to weblogic using a java class with the right jndi?
Any help will be appreciated.
Thanks
TLIt should be quite straightforward to do this. As stated you need weblogic.jar in your classpath, then use 100% standard JMS calls to publish.
Ensure that you set the following properties before getting your initial context:
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://node:7001 (or whatever)
this will ensure that the correct JMS implementation classes are invoked.
You can't easily (without some mucking around) build a test implementation in an AQ environment and then deploy to WebLogic because in AQ you don't tend to use JNDI lookups (unless you've implemented oracle JNDI etc) but rather use non standard factory class to create connections etc. -
Unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver
I am unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver vers.2.573.4202.00 on a Win98 computer.
First, I create a "Net Service Name" in order for the ODBC Driver to find the Oracle server. I then created a System DSN in the ODBC Data Source Administrator and assigned the "Net Server Name" as the server in the "Microsoft ODBC for Oracle Setup". But when I test this DSN with Oracle's provided "Oracle ODBC 32Bit Test vers.2.5.3.1.0" I get an error:
SQLSTATE: NA000
Native Error Code:0
Driver Message:[Microsoft][ODBC driver for Oracle][Oracle]
This error occurred on all three Win98 computers I have tried. It does however, seem to work fine on WinNT 4.0, and believe it or not, on the two Win95 computers I have tried.
Does anyone have any fixes, recomendations, or advice?
Thank you,
Eric Edwards
nullWhy are yu not using the Oracle ODBC driver - these can be downloaded from OTN.
Have you set up a tnsnames.ora entry for the Oracle database you want to connect to? Does this name have a domain name added to it? Check %ORACLE_HOME%\network\admin\tnsnames.ora for the service name. If it is a name of the form :
name.domain.subdomain
then you should try using this full name when configuring the ODBC data source.
null -
Send encrypted data from oracle 11g to Ms SQL Server 12
Hi every body,
we want to send encrypted data from oracle 11g to Ms SQL Server 12:
- data are encrypted to oracle
- data should be sent encrypted to Ms SQL server
- data will be decrypted in Ms SQL server by sensitive users.
How can we do this senario, any one has contact simlare senario?
can we use asymetric encription to do this senario?
Please Help!!
Thanks in advance.Hi,
What you want to do about copying data from Oracle to SQL*Server using insert will work with the 12c gateway. There was a problem trying to do this using the 11.2 gateway but it should be fixed with the 12c gateway.
If 'insert' doesn't work then you can use the SQLPLUS 'copy' command, for example -
SQL> COPY FROM SCOTT/TIGER@ORACLEDB -
INSERT SCOTT.EMP@MSQL -
USING SELECT * FROM EMP
There is further information in this note available on My Oracle Support -
Copying Data Between an Oracle Database and Non-Oracle Foreign Data Stores or Databases Using Gateways (Doc ID 171790.1)
However, if the data is encrypted already in the Oracle database then it will be sent in the encrypted format. The gateway cannot decrypt the data before it is sent to SQL*Server.
There is no specific documentation about the gateways and TDE. TDE encrypts the data as it is in the Oracle database but I doubt that SQL*Server will be able to de-encrypt the Oracle data if it is passed in encrypted format and as far as I know it is not designed to be used for non-Oracle databases.
The Gateway encrypts data as it is sent across the network for security but doesn't encrypt the data at source in the same way as TDE does.
Regards,
Mike -
Regards sending text sms from oracle forms 10g
Do anybody know about sending the sms from oracle forms.If anybody had means please send me the script......
Welcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>Announcement: Forums Etiquette / Reward Points
</ul>
Do anybody know about sending the sms from oracle forms.If anybody had means please send me the script...... This is a commonly asked question. Have you tried searching the forum for possible solutions? Take a look at this search result. I would also recommend you take a look at the Oracle Forms Services 11g web page and scroll down to the Oracle Forms 11g calling a web service link. This is a white paper published by Grant Ronald that specifically describes the process of sending SMS from Oracle Forms.
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Unable to connect to Oracle database running on Windows machine from linux.
Hi,
I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
Please help me.
Thanks,
Sunjyoti
Code :
import oracle.jdbc.pool.OracleDataSource;
import java.sql.Connection;
import java.util.*;
import java.sql.*;
import java.io.*;
class try2{
public static void main(String args[]) {
try {
System.out.println("hi");
// Load the properties file to get the connection information
Properties prop = new Properties();
prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
// Create a OracleDataSource instance
OracleDataSource ods = new OracleDataSource();
System.out.println("prop is "+prop);
configureDataSource(ods, prop);
Connection conn=null;
// Create a connection object
conn = ods.getConnection();
System.out.println("Connection is"+conn);
// Sets the auto-commit property for the connection to be false.
conn.setAutoCommit(false);
} catch (SQLException sqlEx){ // Handle SQL Errors
System.out.println("In exception "+sqlEx);
} catch(Exception excep) { // Handle other errors
System.out.println(" Exception "+ excep.toString());
private static void configureDataSource(OracleDataSource ods, Properties prop) {
// Database Host Name
ods.setServerName(prop.getProperty("HostName"));
// Set the database SID
ods.setDatabaseName(prop.getProperty("SID"));
// Set database port
ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
// Set the driver type
ods.setDriverType ("thin");
// Sets the user name
ods.setUser(prop.getProperty("UserName"));
// Sets the password
ods.setPassword(prop.getProperty("Password"));
Connection properties :
# Your Database Connection details
HostName = 10.20.3.19
SID = EDIREAD
Port = 1521
UserName = dbuser
Password = dbuser
Error I'm getting is
error while trying to connect with odbc datasource
[root@iflexpau2217 EDIReader]# java try2
hi
prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Also I tried to connect with weblogic JDBC driver
Code is here:
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
//import com.entrust.toolkit.util.ByteArray;
public class trial{
public static void main(String args[]) throws IOException{
System.out.println("hi");
Connection p_conn = null;
PreparedStatement xml_insert = null;
try {
// Load the JDBC driver
System.out.println("hi2");
// String driverName = "oracle.jdbc.driver.OracleDriver";
String driverName = "weblogic.jdbc.oracle.OracleDriver";
System.out.println("hi2");
Class.forName(driverName);
// Create a connection to the database
String serverName = "10.20.3.19";
String portNumber = "1521";
String sid = "EDIREAD";
//String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
String url = "jdbc:bea:oracle://10.20.3.19:1521";
String username = "dbuser";
String password = "dbuser";
System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
p_conn = DriverManager.getConnection(url, username, password);
System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
//InputStream in=null;
File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
BufferedReader input =null;
input=new BufferedReader(new FileReader(l_file));
String line = null;
StringBuffer trial=new StringBuffer();
while (( line = input.readLine()) != null){
trial.append(line);
trial.append(System.getProperty("line.separator"));
//InputStream is = new BufferedInputStream(new FileInputStream(l_file));
System.out.println(trial.toString());
//Blob b ;
//byte[] bytes=trial.toString().getBytes();
//System.out.println("Size-->"+bytes.length);
xml_insert.setString(1,new String("SpecailChar"));
//xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
xml_insert.setString(3,"SpecailChar");
xml_insert.executeUpdate();
p_conn.commit();
} catch (ClassNotFoundException e) {
System.out.println("ClassNotFoundException:"+e.getMessage());
// Could not find the database driver
} catch (SQLException e) {
System.out.println("SQEXCEPTIN:"+e.getMessage());
// Could not connect to the database
}catch (FileNotFoundException e) {
System.out.println("filenot found:"+e.getMessage());
// Could not connect to the database
Error I'm getting is
error while trying with jdbc:
SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refusedIs the Windows firewall active? Have you enabled the port on the firewall, if it is?
-
Can i send email directly from bridge cs6 and cc ?
hi
can i send emails directly from bridge cs6 or cc directly from bridge?
i found this scripts http://kb2.adobe.com/community/publishing/894/cpsid_89450.html
but i run cs6 and cc under windows 7 sp1 64bit and windows 8.1 64bit
and i have thunderbird email client
is there a way to make it work?
maybe i can install another email client
thanks// consult MAILSEND in here: https://github.com/muquit/mailsend and download the app 'mailsend.exe' for windows7 in here:
// https://github.com/muquit/mailsend/releases/download/1.17b15/mailsend1.17b15.exe.zip
// unzip it and put the app .exe where you want to use it.
// I have tested using Bridge to send e-mail using my gmail e-mail account and it works. I only needed to
// I needed to send e-mails from Bridge using my google account, but first I needed to put on my network the app 'mailsend.exe'(i'm using PCs windows7 , CS6 and a network)
// All my 20 people team is using it, so I decided to put the app 'mailsend.exe' on a common place on network. I you are using it only on 1 PC you don't need you can put it on its disk.
// Solution: All you need is to create a bat file that tells 'mailsend.exe' what to do:
var mailsendBat=File(Folder.temp +"/mailsendBat.bat"); // creates a bat file on the temporary folder
mailsendBat.open("w")
// the place where app 'mailsend.exe' file is
mailsendBat.writeln('"X:\\[someFolder]\\mailsend.exe" \^');
// my gmail
mailsendBat.writeln('-t [email protected] -f [email protected] \^');
// the title can have encoding or not (-enc-type "base64")
mailsendBat.writeln('-cs "utf-8" -mime-type "text/plain" -enc-type "base64" -sub "Ich lerne seit ungefähr zwei Jahren Deutsch" \^');
// this works for the smtp gmail
mailsendBat.writeln('-starttls -port 587 -auth -smtp smtp.gmail.com -user "[email protected]" -pass "[myPassword]" \^');
// If I want to send an image attachment I use this 1, 2, or more times. If content-type is "multipart/mixed" the inline images don't work. Instead the images will be sent as attachment.
mailsendBat.writeln('-content-type "multipart/mixed" -attach "C:\\Users\\Public\\imagens\\myImage.jpg" \^');
// this is the line to send a simple text line with no encoding specified
mailsendBat.writeln('-enc-type "none" -mime-type "text/plain" -M "one line attachment 1" \^');
// you can sen inline html that can also have links to inline images
mailsendBat.writeln('-mime-type "text/html" -enc-type "none" -M "<b>this is a test</b><br><img src="http://[any_online_image.jpg],image/jpeg,i">" \^');
// sending text line with special encoding
mailsendBat.writeln('-cs "utf-8" -mime-type "text/plain" -enc-type "base64" -M "Ich lerne seit ungefähr zwei Jahren Deutsch" \^');
// endind it
mailsendBat.close();
// executing
mailsendBat.execute();
// there are also other kind of commands (consult https://github.com/muquit/mailsend) -
I can no longer send emails from my mac yahoo business account, but can send them directly from yahoo. just not from mac mail. I've been able to send emails perfectly fine until today. I've been on the phone with yahoo mail and they've verified that my account settings are correct and I can send email from yahoo. I can receive emails via Mac mail, but just can't send them. An error message appears that says:
"Sending the message content to the server failed." I can't send emails from my Mac desktop, iphone or ipad. Any suggestions! Help! I'm a Mac rookie and so frustrated! Thanks.Please read and begin using Can receive email, but not send email. I had a similar issue with Comcast mail (could receive by not send) and found my answer in this letter. For me it took resetting the outgoing mail and telling the system to use a password when sending outgoing mail. If you need help with that please advise and I'll tell you where to look.
-
HT1529 sending emails directly from Finder in Mountain Lion
With Mountain Lion I cannot send emails directly from Finder! In older versions when I right-click on a file there is an option in the dialog box which appers: "send by email" or something like this, I can't remember exactly...but when I used to click on it the email window appears. How can I activate this option? in this new version it is only SHARE options which is not helpful.
Thanks!I am having similar issues with my user account. It also is the same in Yosemite.
Disc images, external hard drives etc dragged to trash (get eject icon) are simply ignored.
Pressing Eject button in side bar of Finder are ignored.
It seems to be a permission/account issue as:
- using computer under a different account doesnt have this problem
- transferring account over to another mac continues the problem on the new computer.
Log file seems not to have any errors. -
Tried to send email direct from iphoto on my newly installed iPhoto '11. It will not accept my current and only server, or my password. The photos will go out directly from email, but not from iPhoto. Any suggestions?
In the iPhoto preferences set Apple mail as the e-mail client and use it as before
LN -
Very Urgent !! XMLP reports not printing directly from Oracle Apps.
Hi ,
We are not able to print XMLP reports directly from Oracle Applications(Concurrent Manager) to the printer.
We have checked the following setups and they are ok.
1. Have a Postscript ready printer.
2. PASTA has been installed and setup.
3. The printer type "--Pasta Universal Printer Type" is associated with the printer and that the seeded "PDF Publisher" print style and PASTA_PDF printer driver are associated with the printer type. Third party program "pdftops" has been installed in the instance.
4. pasta_pdf.cfg is present and that it contains an "uncommented" entry as follows:
preprocess=pdftops {infile} {outfile}
5. The XMLP Report also has print style as "PDF Publisher".
Initially, Step 5 was not being followed and the printer was printing the XML data instead of the pdf output.
Now, after changing it to PDF Publisher, nothing is coming as output to the printer.
I have checked that both the XML and pdf files are getting generated.
Does anyone have any idea what could be the problem? Any help is greatly appreciated.
Regards,
SatrajitHi Satrajit,
Please make sure you have pdftops is available on the server and in the PATH.
Please run following two commands.
$ which pdftops
$ which pdf2ps
Please use one of two commands you found in the server.
Please review Metalink Note 338990.1 for more details.
Thanks,
Shinji -
Problem installing Oracle Linux Release 5 Update 2 from Oracle e-Delivery
Hello
I have been trying to install Oracle Linux Release 5 Update 2 from Oracle e-Delivery so that I can install Oracle 11g express edition beta.
Here are the steps that I took and the problem that I am having:
1. I downloaded the file, unzipped the file twice, which gave me 3,042 files and 13 folders with the total size = 3.07 GB.
2. I put in the DVD and restarted my PC hoping that my PC will boot from the DVD, but instead Window started.
I reported this issue to tech support from e-Delivery, but they referred me to contact you. Please assist.
Julia3,042 files and 13 folders with the total size = 3.07 GBWhich download .zip did you choose from edelivery? Under linux-x64 I peeked "Oracle Linux Release 5 Update 2 for x86_64 (64 Bit) - DVD" file V15099-01.zip downloaded, it has just the one .iso file. You'll need to burn that to DVD, but with burn s/w that handles ISO files.
Also keep in mind you'll need 64 bit hardware (amd/intel 64? itanium? those are different), the only *nix platform I've got handy to try it out is -x86 :( -
How to send an email from oracle?
Hi I want to send email from oracle database.
i have tried following procedure
create or replace
2 PROCEDURE send_mail (p_sender IN VARCHAR2,
3 p_recipient IN VARCHAR2,
4 p_message IN VARCHAR2)
5 as
6 l_mailhost VARCHAR2(255) := 'aria.us.oracle.com';
7 l_mail_conn utl_smtp.connection;
8 BEGIN
9 l_mail_conn := utl_smtp.open_connection(l_mailhost, 25);
10 utl_smtp.helo(l_mail_conn, l_mailhost);
11 utl_smtp.mail(l_mail_conn, p_sender);
12 utl_smtp.rcpt(l_mail_conn, p_recipient);
13 utl_smtp.open_data(l_mail_conn );
14 utl_smtp.write_data(l_mail_conn, p_message);
15 utl_smtp.close_data(l_mail_conn );
16 utl_smtp.quit(l_mail_conn);
17 end;
and when i execute the following
begin
send_mail( '[email protected]',
'[email protected]',
'Hello arun' );
end;
I get the following errors
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 97
ORA-06512: at "SYS.UTL_SMTP", line 139
ORA-06512: at "TEST.SEND_MAIL", line 8
ORA-06512: at line 2
Please help
Regards
ArunC:\>telnet aria.us.oracle.com 25Only if you work ofr Oracle & start behind their firewall would I expect this to work.
The SMTP server to which PL/SQL connects needs to be YOUR corporate email (MTA) server & configured to RELAY message.
Contact your LOCAL postmaster/Network Admin
NONE of this is related to Oracle RDBMS!
Maybe you are looking for
-
Blending the past with ntsc color monitors..
An interesting adventure.... Trying to hook up an NTSC monitor for color correction to my iMac. It's a sony monitor and can be calibrated properly by turning off all the tubes, except for the blue during cal. The only issue is that this is an older m
-
I was quit group by command. But I have not quit and I can't receive any info from that group.so I can't quit and add again. also receive info. This is very funny.
-
I'm on page 293 of David Nahmani's Apple Pro Training book, having just been introduced to the scissors tool. When I click the bass region with the scissors tool, the region is soloed and bordered in yellow, but all I get when I drag left or right is
-
Hello, Still learning and going through tutorials. However, I decided that the best way is to start a project once I get a bit more comfortable. Anyhoo, my first project will be to build a handheld interface to our Point of Sale system. Strictly orde
-
Cannot open adobe reader password
tried all known passwords still reqirers password