473,520 Members | 2,786 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UTL_SMTP and attachments


Early this year I wrote an article on utl_smtp and working through all of
the issues surrounding it. I've offered it to Oracle - who have not fallen
over themselves to take it. I've also got version 8 and version 9 packages
built to support the article. Total size of the article (MSWord) and
attachments are ca. 150K, so I won't post them here. However, if you have
interest in the topic let me know and I'll be happy to email you a copy. I
don't hang out here so write me directly vze2qjg5 verizon net (you have to
put the address together first).

Regards,
Jack Parker
Jul 19 '05 #1
3 9188
Glad to see someone else has spent some equal time on building a email tool. I launched mine off of another developers work but made
a number of modifications to mine :

- PLSQL solution
- Converted to UTL_TCP
- Support for HTML Formatted messages
- Support for binary attachments as well as flat file text attachments
- Server verification to validate a mail server is up and running
- Server timemout logic
- etc

Additionally, took what I learned from there and leveraged it against a FTP routine that handles MVS Mainframe file transfers,
binary and ascii transfers for non-mainframe machines. Supports GET/PUT/ RENAME/DELETE functionality.

Have you done any work with binary attachments with your solution or work on FTP solutions
Barry Chase
- MylxHQ - Oracle Resource Portal [http://www.mylxhq.com]


On Sun, 11 Jul 2004 12:56:16 GMT, "Jack Parker" <vz******@verizon.net> wrote:

Early this year I wrote an article on utl_smtp and working through all of
the issues surrounding it. I've offered it to Oracle - who have not fallen
over themselves to take it. I've also got version 8 and version 9 packages
built to support the article. Total size of the article (MSWord) and
attachments are ca. 150K, so I won't post them here. However, if you have
interest in the topic let me know and I'll be happy to email you a copy. I
don't hang out here so write me directly vze2qjg5 verizon net (you have to
put the address together first).

Regards,
Jack Parker


Jul 19 '05 #2
bs********@mylxhq.com wrote:
Glad to see someone else has spent some equal time on building a email
tool. I launched mine off of another developers work but made a number of
modifications to mine :

- PLSQL solution
- Converted to UTL_TCP
- Support for HTML Formatted messages
- Support for binary attachments as well as flat file text attachments
- Server verification to validate a mail server is up and running
- Server timemout logic
- etc

Additionally, took what I learned from there and leveraged it against a
FTP routine that handles MVS Mainframe file transfers, binary and ascii
transfers for non-mainframe machines. Supports GET/PUT/ RENAME/DELETE
functionality.

Have you done any work with binary attachments with your solution or work
on FTP solutions
Barry Chase
- MylxHQ - Oracle Resource Portal [http://www.mylxhq.com]


Have you looked at Oracle's Workflow functionality? That shows a number of
tricks, especially related to the HTML transmission.

/Hans
Jul 19 '05 #3
Actually I haven't looked at Workflow that much at all. I have seen several models of mail tools ... from PLSQL, Pro*C, Java, and
now as you suggest.. Workflow. I am particularly happy with the PLSQL solution we use now. It is in a native language that I am very
comfortable with and fits our environment where I work. I have spent the last 2 years tweaking it here and there, and the same with
the FTP solution. If I was to change anything, I would probably go with a java solution so that it would be cross platform and not
restricted to specially Oracle only, however.... I doubt I could get my employer to buy into it as easily. It was hard enough to
convince them to let me turn on the mail utility and ftp utility as it stands now... but in the end I did finally persuade them to
do so. LOL.

Barry Chase
- MylxHQ - Oracle Resource Portal [http://www.mylxhq.com]

P.S. You are welcome, or anyone for that matter, to take a look at what I did. Just head to my site (see above). I like to hear when
someone else is going down the same path as I did....and others for that matter. Always interesting to see what they did with their
solution. Might learn some new tricks in the process.

On Sun, 11 Jul 2004 22:07:52 GMT, Hans Forbrich <fo******@yahoo.net> wrote:
bs********@mylxhq.com wrote:
Glad to see someone else has spent some equal time on building a email
tool. I launched mine off of another developers work but made a number of
modifications to mine :

- PLSQL solution
- Converted to UTL_TCP
- Support for HTML Formatted messages
- Support for binary attachments as well as flat file text attachments
- Server verification to validate a mail server is up and running
- Server timemout logic
- etc

Additionally, took what I learned from there and leveraged it against a
FTP routine that handles MVS Mainframe file transfers, binary and ascii
transfers for non-mainframe machines. Supports GET/PUT/ RENAME/DELETE
functionality.

Have you done any work with binary attachments with your solution or work
on FTP solutions
Barry Chase
- MylxHQ - Oracle Resource Portal [http://www.mylxhq.com]


Have you looked at Oracle's Workflow functionality? That shows a number of
tricks, especially related to the HTML transmission.

/Hans


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3539
by: Jorge Pinto | last post by:
Hi folks, I'm having a problem with initjvm.sql. I created a procedure to send a message using utl_smtp and when I run it, I got an error ORA-29540. I read that I needed to install JVM so I tried. The problem was that I got so many errors related with shared pool, declaration variables. Is there any configuration or change that I need to...
0
1781
by: scott.watson | last post by:
Hello, I am attempting to attach a .pdf file to an email generated using oracle's utl_smtp. I am working on Oracle9i Enterprise Edition Release 9.2.0.4.0. I beleive that the utl_smtp.write_data is stripping out part of what I am passing to it. Here is the code I am having trouble with: utl_smtp.write_data(conn, 'From: "Curious...
1
2326
by: nabil m | last post by:
hi i have 5 checkboxes i would like to when the user click on 1 or multiple checkbox i would like to email 1 or multiple files attachments to them ex: mailMsg.Attachments.Add(myAttachment+i); but getting error: Specified cast is not valid. thank you in advance my code below: MailAttachment myAttachment0 = new MailAttachment...
1
399
by: Steve Holden | last post by:
I'm having some trouble getting attachments right for all recipients, and it seems like Apple's mail.app is the pickiest client at the moment. It doesn't handle attachments that both Thunderbird and Outlook find perfectly acceptable. Since the code I'm using is currently ugly and embedded, before I trim it down for posting could anyone...
0
16413
debasisdas
by: debasisdas | last post by:
The follwing sample code uses predefined package UTL_SMTP to send mail. This package was first available in the version 8.1.7 . create or replace procedure sendmail(sender varchar2,recipient varchar2,subject varchar2, text varchar2) IS mailhost VARCHAR2(64) := '192.168.1.32';
1
3544
by: Anna C. Dent | last post by:
Jorge Pinto wrote: You need to manually & properly MIME format the message.
0
1656
by: Ana C. Dent | last post by:
On 19 Aug 2003 06:05:33 -0700, Tracey <tracey.lemer@itsservices.comwrote: You need to conform to the SMTP "standard: To: {recipent_name_here} From: {sender} Subject: {An_example} Date: {yesterday}
1
571
by: Jack Parker | last post by:
Early this year I wrote an article on utl_smtp and working through all of the issues surrounding it. I've offered it to Oracle - who have not fallen over themselves to take it. I've also got version 8 and version 9 packages built to support the article. Total size of the article (MSWord) and attachments are ca. 150K, so I won't post them...
5
3847
by: vamsioracle | last post by:
Hi all, I have a problem with the ult_smtp package. Let me explain how the structure of my code is procedure------------ begin declarations of variables and cursors ........................ .....................
0
7204
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7602
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7164
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7560
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5127
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3282
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1646
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
837
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.