sending email with UTL_SMTP - oracle

I have a package in Oracle which sends email using UTL_SMTP. But when I run it in oracle version 19 , it dosn't work and i get this error:
ORA-20000: Failed to send mail due to the following error: ORA-29279: Permanenter SMTP-Fehler: 554 For explanation visit https://www.ionos.com/help/index.php?id=2425&ip=80.152.187.21&c=hd
anyone knows why this happens? it works fine in oracle version 11.

Related

ORA-20000: AOP Server can not be found

I installed AOP and have now a little problem. I get the error
ORA-20000: AOP Server can not be found. Check if it is running at http://api.apexofficeprint.com/
when trying to create a template or report.
Oracle Database 18 XE
Apex 20.1
Apex Office Print 20.2
That's a general error you are receiving. This is more of a network issue than AOP.
The first step would be to check if you ACL has been set up properly. You could check this by executing the following through SQL Workshop -> SQL Commands:
select apex_web_service.make_rest_request('http://api.apexofficeprint.com/marco', 'GET') from dual;
if the ACL was configured properly you should get a "polo" string back.
If this does result in an error, you should be able to get the exact HTTP error by executing the following command:
select utl_http.get_detailed_sqlerrm from dual;
You should see something like this:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1577
ORA-24247: network access denied by access control list (ACL)
The code to configure ACL can be found on oracle documentation for 20.1
I've pasted the code below to make it easier. You will need to connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role.
BEGIN
DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE(
host => 'api.apexofficeprint.com',
ace => xs$ace_type(privilege_list => xs$name_list('connect'),
principal_name => 'APEX_200100',
principal_type => xs_acl.ptype_db));
END;
/
For completeness I am also hyperlinking it here for other versions of APEX.
: APEX 5.0, APEX 5.1, APEX 18.1, APEX 18.2, APEX 19.1, APEX 19.2
Once this has been setup, you should be able to connect to api.apexofficeprint.com without issues. However please note that you are currently using http protocol which is unsecure and we recommend you to use https.
In order for you to use https, you will have to add the root certificate of AOP server. This blog capture the method in detail.
Furthermore if you have installed the AOP sample application, you can debug connection issues from connection test page (Debugging -> Test Connection). This page will detect the URL you have used for the plugin and allow you to check the connection. This detects ACL, wallet issues, certificate validation issue and if the server is running in the provided URL.
PS: Could it be that you used other email than support#apexofficeprint.com to contact us? I see that one of your email and the feedback were both answered within an hour.

Failed to save modifications to the server. Error returned: 'The provider 'OraOLEDB.Oracle' is not registered

I am trying to import data from Oracle into SSAS. I am able connect to Oracle Database..I can also see all the tables and views..but its giving me following error while importing tables.
error: Failed to save modifications to the server. Error returned: 'The provider 'OraOLEDB.Oracle' is not registered.The following system error occurred: Class not registered A connection could not be made to the data source with the Name of 'XYZ'.
I have installed 32 bit oracle client 12C. On development server I am able to import data in SSAS cube from Oracle with same configuration but not on my production server.
Please help me sort out this issue.
Thanks in advance.

Oracle Connection in SSIS error

I have searched the message boards and found some suggestions but have not had any luck in resolving issue.
I have an existing SSIS package that connects to an Oracle database instance called 'read_79'. That connection works fine.
I have added a new connection to the existing package called 'read_91' and I am getting errors when trying to debug the package.
Error = Error: 0xC0202009 at SMS_Stats, Connection manager
"read_91": SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has
occurred. Error code: 0x80004005. An OLE DB record is available.
Source: "OraOLEDB" Hresult: 0x80004005 Description: "ORA-12154:
TNS:could not resolve the connect identifier specified". Error:
0xC020801C at Import Bulletin Stats, 91 Bulletin Stats [487]: SSIS
Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The
AcquireConnection method call to the connection manager "read_91"
failed with error code 0xC0202009. There may be error messages posted
before this with more information on why the AcquireConnection method
call failed.
Here is the connection string that I am using - Data Source=cm9.FQDN;User ID=read;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;
This string is the same as what is being used for 'read_79' but updated with the 'read_91' data. And when I perform a test connect from within the connection manager, it comes back as successful.
Any suggestions would be greatly appreciated!

Problems in installing Oracle 10g database

While installing Oracle 10g software, at the end i got the following error message.
And then when i run SQLPlus.exe I can not sign in using Scott/Tiger username/password. I get this error message
"ORA-12560: TNS:protocol adapter error"
Whats the issue?
Also, At the end of installation, i get this screen which says Database Control URL is .......... iSQLPlus url is ......
but when I copy/paste this url in the browser i get
Network Error (dns_unresolved_hostname)
Your requested host "imccit101.imcc.ae" could not be resolved by DNS.
For assistance, contact your network support team.
What are these url's for and how can I use them?
You can check whether you have the necessary services installed related to oracle. There should be service for the oracle instance and Tnslistner. If you have them try start them manually.

I am unable to send email from admin panel for order confirmation in Magento(1.9.1.0) Platform

I am unable to send email from admin panel for order confirmation and after that i got this error. So please guys tell me, If any one know about this issues.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root#domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Are you trying to send the mails from your local machine, or is the site already hosted on the live server ? If its local, mails wont go.
If you are on live server, you would have unconfigured mail service. As magento, by default would send mails if your mail server is configured perfectly.

Resources