How can i secure email with attachments using coldfusion

Hi,
I need to send emails with attachments containg word, excel or PDF documents using cfmail. However this email needs to be really secure. How is the best way to secure the entire email with its attachments.
Any ideas appreciated
Thanks
Zubair

Hi ,
I hope the following will help you..., using the UTL_SMTP db package.
DECLARE
c UTL_SMTP.CONNECTION;
PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2) AS
BEGIN
UTL_SMTP.WRITE_DATA(c, name || ': ' || header || UTL_TCP.CRLF);
END;
BEGIN
-- Open connection to SMTP gateway
c := UTL_SMTP.OPEN_CONNECTION('smtp.server.acme.com');
UTL_SMTP.HELO(c, 'acme.com');
UTL_SMTP.MAIL(c, '[email protected]');
UTL_SMTP.RCPT(c, '[email protected]');
UTL_SMTP.OPEN_DATA(c);
send_header('From', '"Oracle Admin" ');
send_header('To', '"Bob Smith" ');
send_header('Subject', 'Automated Database Email');
UTL_SMTP.WRITE_DATA(c, utl_tcp.CRLF || 'This is an automated email from the Oracle database.');
UTL_SMTP.WRITE_DATA(c, utl_tcp.CRLF || 'The database is working for you!');
UTL_SMTP.CLOSE_DATA(c);
UTL_SMTP.QUIT(c);
END;
Simon

Similar Messages

  • How can I forward email with embedded photos?

    How can I forward email with embedded photos so that the recipient gets them that way instead of all the text followed by all the photos?

    Hello,
    Thanks (or merci beaucoup).  I am using Mail version 5.2 (1278) that came with the iMac (Mac OS X 10.7.4).  When I forward the email to myself at my "me.com" email address from my "cox.net" email address, the photos come out as attachments even though they were embedded when I received the email on my cox.net email.   What setting(s) can I make to have it get to me.com the way it was in cox.net, i.e. embedded instead of as attachments?
    Lou Edwards

  • How can i get apps with out using credit card info because i do not have a card ?

    how can i get apps with out using credit card info because i do not have a card ?

    Yo Chris. I've been following your answers to different threads and quite frankly, you're very keen in answering everybody regarding this stupidity that Apple has brought upon its customers. Kudos to you. But the problem is, most of the time, in some devices, your solution doesn't work because the NONE option is not there. The same goes for me.
    Meanwhile, I found a temporary workaround for the iPhone 4s, iPad 2 and iPod Touch 4th Gen.
    Register a free Apple ID from the iCloud Settings.
    Go to Settings>iCloud>Account>Tap Payment Information on the Storage Plan Category.
    Fill in the other boxes and choose "None" on Credit Card Information.
    That's it! Hope I helped those who still couldn't find the "None" Option.
    Must be running IOS 5.0.1 though, else there would be no iCloud.

  • How can i send Email with attacment in pdf/xls with pass word protect

    Hi
    Can i send Email with attachment in pdf/xls with password protect in oracle apps .Here we want monthly stmt to send the customer with pdf/Xls with
    password protect.Is it possible if yes how
    Thanks

    One option is to convert the report to XML Publisher (which you might have already done as you are asking PDF/XLS), then look into the links below:
    http://blogs.oracle.com/xmlpublisher/2007/09/11/
    http://blogs.oracle.com/xmlpublisher/2010/02/securing_burst_output_document.html
    http://blogs.oracle.com/xmlpublisher/2007/06/merge_and_secure_pdfs.html

  • How can create an email with checkboxes?

    I want to send an email with a list and has the recipients to check items in the list.  For example,  I have the following list:
    Which office applications do you use?
    Outlook
    Excel
    Word
    PowerPoint
    Access
    Instead of the dot, I want to use a checkbox and recipients can check the appropriate checkbox and reply me.
    Thanks for any help.

    Hello Max,
    I followed your instructions and I successfully created checkboxes in my email. But when I sent it to other people and everyone else failed to be able to check off the boxes (I
    cc myself and it worked for me nevertheless)... could you advise why and what have I missed
    out in the process?
    Thank you.
    Best regards.
    Harley
    Sorry Harley,
    It is proved that the ActiveX check box will not work after you send the email to the other users due to the Outlook security policy. Sorry for that.
    The easiest workaround might be using the Vote feature instead. Or send a Word document to the users, and let them send you the document back.
    Other possible alternates: 
    Create a custom Outlook form, which allows you to add such controls, but you need to distribute the form to all the users that you want them to use the checkbox, seems to be an expensive solution.
    If InfoPath is available in your working environment, using InfoPath form is another alternate. (Read
    Use InfoPath e-mail forms in Outlook) (Note the recipients also need InfoPath installed.)
    If SharePoint is available in your working environment, create a survey in the SharePoint is another alternate. (Read
    Create a survey)
    Max Meng
    TechNet Community Support

  • Can we process files with attachments using File Adapter

    Hi All,
    I want to process files which have attachments using File Adapter.
    Is it possible to process such files?
    May be using standard modules?
    Regards,
    CBKLP

    Assuming you are talking about sender FILE channel....you can make use of PayloadSwapbean provided by SAP (standard module)...to read data from attachment.
    Regards,
    Abhishek.

  • How can I sync email with Outlook, including folders

    I want to see and use, on my iPad, the same files and folders I have in outlook on my PC. Also I want any changes I make on the PC or the iPad to sync with each other.
    PC is running Windows 7,
    Outlook 2007, but could switch to 365 if necessary.
    I currently use Gmail for my email accounts server. They are set up as POP accounts with Outlook using a .PST data file. However, IMAP is available for Gmail.
    If I could convert my PST file to an OST file and change my email accounts to IMAP accounts I think everything would work but i haven't found a way to convert the data file.
    I greatly prefer not to have all my data on a cloud but might consider it if there is no other way.
    I will consider 3rd party apps if they do the job and are known to be reliable
    Thank you in advance for any person/s that want to help me on this.

    Connect your iPad to your computer and open iTunes. Look under 'info' and you may need to scroll down. The option will be there to sync your outlook calendar (or more) with the iPad. Choose what you want and sync to 'save' the settings.

  • HT1386 My phone is disabled.  How can I rest it with out using a computer?

    My phone is disable.  How can I rest it without using a computer?

    Sell it to someone that has a computer & use the money to purchase a new phone. Either that or find a computer.

  • How can I visualise Emails with large attachments?

    Background: Working in corporate environment with Exchange with Mailbox limits.
    From time to time I'm running out of quota, then I need to move Mails locally (by Smart Mailbox) or delete them.
    Insted of doing this reactive I would love to see Emails marked in color (rules?) so I can take care of them while I read them so I don't need to touch them twice.
    Thx
    -Walter
    P.s. Using Mail, not Outlook.

    What email service are you using to write your emails? Or are you using a Thunderbird?
    If you use a webmail service like hotmail or GMail, you can probably find the information you are looking for in that service's help documents. Look for a link called "help" or "support" on the site where you read your emails.

  • How to view only emails with attachments on iPhone

    I used to be able to go into mail and I could tap on "attachments" and it would show me ONLY emails that have attachments. I recently swapped my iphone for a new one of the same model and everything, but I don't see the attachments section anymore. Any ideas? I could not find anything about this in the settings either.

    You will need to empty also trash to be sure. The email and the attachment will not be on iPod but may be a copy will still be on a server of your provider according to the system he uses (IMAP or POP3) and according to the preferences you have set on the mail programs (leave message on the server... delete it after a date or after deleting it from inbox or... there are many possibility).
    If the mail message is still on a server teoretically you can download it again from the iPod or even another computer.. of course knowing your account settings and password.
    What is not clear in your message: you mention 3 devices: sent thge mail from your cell (1) to your iPod (2) and/or to your friend (3).
    Added later: you will also need to check the SentMessage Folder because a copy of the mail could also be there if you sett to keep a copy there.

  • How can i intergarate eclipse with tomcat using windows 2000?

    i'm using Eclipse 3.0 with sdk 1.4, i downloaded Tomcat and configured it for plugin to Eclipse. But yet i can't start the Tomcat server.
    if any one can help me please of how to configure tomcat or the proper installation in windows 2000.

    Well whebn i start the server this is the what happens:
    H:\>%CATALINA_HOME%\bin\startup
    Using CATALINA_BASE: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\
    Using CATALINA_HOME: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\
    Using CATALINA_TMPDIR: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\\temp
    Using JAVA_HOME: C:\j2sdk1.4.2_10
    H:\>
    =================================
    i don't see any error during the start up,but i soon as i shut it down this is what happens:
    H:\>%CATALINA_HOME%\bin\shutdown
    Using CATALINA_BASE: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\
    Using CATALINA_HOME: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\
    Using CATALINA_TMPDIR: H:\Eclipse\eclipse\tomcat\jakarta-tomcat-4.1.31\\temp
    Using JAVA_HOME: C:\j2sdk1.4.2_10
    Exception during startup processing
    java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
    sLoader.java:945)
    at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
    sLoader.java:810)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:129)
    H:\>

  • How can I send email from iPad using someone else's server

    I use the Netspace server but I'm visitng a friend and using her optusnet server for the Internet, however I am unable to send email, even though I can receive it

    Critters222-
    I assume Netspace is your Internet provider.  They may have their mail server set up to only work when you are accessing the server locally from their domain.  I suggest you contact Netspace and ask them what you need to do to send E-Mail to them from other domains.
    Have you been able to send E-Mail from other places?  If so, there might be a firewall problem in Optusnet.  In that case, they may be best able to advise you. 
    Fred
    Message was edited by: Fred*M.

  • Does anyone know how to permanently delete emails with attachments on the ipod touch?

    Hey guys, a few months ago I sent an email from my cell to my ipodtouch(I have the newest model) to a friend(she has a older model) does anyone know if you delete the email by clicking on trash then will it be non recoverable? Thanks

    You will need to empty also trash to be sure. The email and the attachment will not be on iPod but may be a copy will still be on a server of your provider according to the system he uses (IMAP or POP3) and according to the preferences you have set on the mail programs (leave message on the server... delete it after a date or after deleting it from inbox or... there are many possibility).
    If the mail message is still on a server teoretically you can download it again from the iPod or even another computer.. of course knowing your account settings and password.
    What is not clear in your message: you mention 3 devices: sent thge mail from your cell (1) to your iPod (2) and/or to your friend (3).
    Added later: you will also need to check the SentMessage Folder because a copy of the mail could also be there if you sett to keep a copy there.

  • How to send e-mails with attachments using microsoft exchange servers?

    I was wondering if there was a way to send e-mails with attached data files.  The e-mail server utilizes a Microsoft Exchange Server.  I would appreciate any help that is provided.

    What version and type of development system of LabVIEW do you have. You have the SMTP Email Send File and SMTP Email Send Multiple Attachments in all except the base package.

  • How to send an email with attachment using shareponit 2013

    Hi Team,
    I have a PowerView report in my PowerPivot gallery and I want to export it to a PDF file then email it to id. Also I need this to be scheduled. 
    Kindly suggest on the steps!
    Thanks in Advance!!
    Thanks,
    Arsath.

    Create a customcode to export the powerview report to powerpoint and then a small email script will do 
    http://office.microsoft.com/en-in/excel-help/export-a-report-from-power-view-in-sharepoint-to-powerpoint-HA102834765.aspx
    http://technet.microsoft.com/en-us/library/hh231522%28v=sql.110%29.aspx
    I could not find a way to do so but check below:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/fd9e90e2-ebc5-4dfb-9eaf-a263729b8ed2/how-to-generate-powerview-model-programmatically?forum=sqlreportingservices
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for

  • Error during variance calculation for production order "NO cost estimate "

    hi all, I'm gettin this error message while trying to calculate the variance for a production order. error is "No cost estimate for material xxxx for 01.10.2008. when i look at material xxx in MM02, under cost estimate for current period there is a v

  • Adding a second internal drive: missing cable?

    I recently purchased a Quad G5, to which I want to add a second internal drive. However, when I opened up the unit, only the smaller power supply cable was present. The wider controller cable seems no where to be found. I pulled the drive from my Dua

  • Requirement  for Idoc-- File

    I am Doing Idoc----->File  mean R/3 - > Legasy.(at Receiver side save File as idoc no) I want save the file name    with number of Idoc(Receiver side).

  • Convert mathematical formulat to excel formula

    I have a formula that was generated by excel when using a trendline on a graph. I need to convert this formula into an excel formula I can use again. the formula is below. Assume that the value for X will be in Cell A1. Any help converting this to an

  • How does the Photo Download Backups folder work?

    I am wondering how the Photo Download Backups folder works--does it keep backups for just a certain amount of time? I just recently found this in my Downloads folder when I was cleaning out unncessary files for extra hard drive space. Mine has nearly