Is it possible to send emails using the package SendMailJPKG in HTML format

Hi
I am trying to find out if there is a way to send an email using the SendMailJPKG in HTML format.
I would also want to add an image in the signature of the email.
Please help.
regards

We are in 9i, should be probably UTL_SMTP. please verify if UTL_MAIL will work on 9iUTL_MAIL is new feature in V10.
Install a V10 DB, then invoke UTL_MAIL via dblink from V9 to V10.
Attachments can be done in V9, but it is a non-trivial effort to do so.
I suspect that GOOGLE can find a working example.

Similar Messages

  • How Do I Increase The Speed Of Sending Emails Using The Mail Service on my Mac Mini Server?

    Note: This is the first time I have set up a mail server.
    I have a Ruby on Rails application where I am currently sending approx. 240 individual emails with the potential of more being sent each week as more people add themselves to our mailing list.  I am sending them invidually in order to personalize the emails and to hopefully prevent my emails being falsely identified as spam.
    The GoDaddy email address I was using in my Rails application has a daily limit of sending 250 emails each day.  With our mailing list fastly approaching 250 I decided to set up an email address on my Mac Mini Server using Mountain Lion (OS X Server).  The email address was set up to be stored locally at the advice of Apple Enterprise Support.  This email address will not be used in an email program.  It will only be used in all my Rails applications.
    My emails send properly but take almost 10 seconds an email.  When I use the same software with GoDaddy's email address the emails take about eight minutes to send.  With the email address I created it takes about 41 minutes.  The difference seems to have to do with the sacl_check being done.  Here is an example of what I see for each email in mail.log.
    Mar 14 11:06:50 hostname.domain1.com postfix/qmgr[45322]: 4B2C5603D25: removed
    Mar 14 11:06:59 hostname.domain1.com postfix/smtpd[99464]: sacl_check: mbr_user_name_to_uuid([email protected]) failed: No such file or directory
    There is 9-10 seconds that elapses when the sacl_check.  If I subtract this difference the remaining time is almost the time that the GoDaddy email takes to send the same number of emails.
    The link below is a post about the sacl_check.  I was looking at the comments by powercore from Germany at the comments where settings in /etc/postfix/main.cf are discussed.
    https://discussions.apple.com/thread/3241121?start=0&tstart=0
    Will making these setting changes speed up the sending of the emails from my Mail Server or is there something else I can check?

    http://en.wikipedia.org/wiki/Intel_Quick_Sync_Video
    OS X [edit]
    Apple added Quick Sync support in OS X Mountain Lion for AirPlay Mirroring and QuickTime X.[9]

  • How I can send emails using the client object model?

    I have tried this, but I always get an exception with error message "A recipient must be specified.":
    string webUrl = "http://sharepoint.example.com/";
    EmailProperties properties = new EmailProperties();
    properties.To = new string[] { "[email protected]" };
    properties.Subject = "Test subject";
    properties.Body = "Test body";
    ClientContext context = new ClientContext(webUrl);
    Utility.SendEmail(context, properties);
    context.ExecuteQuery(); // ServerException thrown here
    context.Dispose();
    Server stack trace:
    at System.Net.Mail.SmtpClient.Send(MailMessage message)
    at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_Client(EmailProperties properties)
    at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod(String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeStaticMethod(String typeId, String methodName, XmlNodeList xmlargs, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStaticMethod(XmlElement xe)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()
    msdn link: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.utilities.utility.sendemail.aspx

    hi
    if you will check the code of SendEmail_Client(EmailProperties properties), you will find that it may only send emails to internal users. May be it was made intentionally in order to prevent spamming from client code. So let's see:
    internal static void SendEmail_Client(EmailProperties properties)
    if (properties.To.Count == 0)
    throw new SPException(SPResource.GetString(web.LanguageCulture, "SendEmailInvalidRecipients", new object[0]));
    AddressReader func = null;
    using (MailMessage mm = new MailMessage())
    func = delegate (MailAddress a) {
    mm.To.Add(a);
    ResolveAddressesForEmail(web, properties.To, func);
    new SmtpClient(SPAdministrationWebApplication.Local.OutboundMailServiceInstance.Server.Address).Send(mm);
    I.e. it adds recipient in ResolveAddressesForEmail() method. Now let's check this method:
    private static void ResolveAddressesForEmail(SPWeb web, IEnumerable<string> addresses, AddressReader func)
    if (addresses != null)
    foreach (string str in addresses)
    if (string.IsNullOrEmpty(str))
    continue;
    SPPrincipalInfo info = ResolvePrincipal(web, str, SPPrincipalType.All, SPPrincipalSource.All, null, false);
    if ((info != null) && (info.PrincipalId > 0))
    if (!string.IsNullOrEmpty(info.Email))
    try
    func(new MailAddress(info.Email, (info.DisplayName != null) ? info.DisplayName : "", Encoding.UTF8));
    catch (FormatException)
    continue;
    if ((string.IsNullOrEmpty(info.Email) && info.IsSharePointGroup) && web.DoesUserHavePermissions(SPBasePermissions.BrowseUserInfo))
    SPGroup byNameNoThrow = web.SiteGroups.GetByNameNoThrow(info.LoginName);
    if (byNameNoThrow == null)
    continue;
    foreach (SPUser user in byNameNoThrow.Users)
    if (!string.IsNullOrEmpty(user.Email))
    try
    func(new MailAddress(user.Email, (user.Name != null) ? user.Name : "", Encoding.UTF8));
    continue;
    catch (FormatException)
    continue;
    continue;
    I.e. at first it tries to resolve user using ResolvePrincipal() method. If it is not resolved (info == null) email is not sent. But if it is - it first checks that email is not empty. If it is not - it adds email to the MailMessage.To recipients list. If
    it is empty it checks whether the principal info represents Sharepoint group. If yes - it will send email to each member of the group.
    So it may be so that you try to send email to external user (which is not supported according to the code above), or resolved principal doesn't have email specified.
    Blog - http://sadomovalex.blogspot.com
    CAML via C# - http://camlex.codeplex.com

  • How can I send email from an JSP page  with HTML format either using jsp

    hi,
    I have an jsp page with online application form,after compleating the form if i select submit it will send all the compleated data to the mail id we mentioned in the form tag,for this i am using javascript,but instead of receiving the data in the format of strings,my client want to receive the data in the same format as he's filling in the jsp page(html format) through e-mail.any help would be appreciated.the fallowing is the code right now i am using for email application.
    <code>
    function send()
    if(validatePersonalInfo(document.theform))
         document.theform.submit()
         location.href=location.reload()
    function validatePersonalInfo(form)
         var tmpStr ="";
         if (form.Name.value == "") {
              tmpStr = "Name";
              document.all.dName.style.visibility="visible";
              document.theform.Name.focus();
         else{
              document.all.dName.style.visibility="hidden";
         if (form.SSN.value == "") {
              tmpStr = tmpStr + ", Social Security Number";
         document.all.dSSN.style.visibility="visible";
         if(form.Name.value != "")
              {document.theform.SSN.focus();}
         else{
              document.all.dSSN.style.visibility="hidden";
    if (tmpStr == "") {
              return true;
         } else {
              alert("Please Fill the Following Fields: " + tmpStr);
              return false;
    <FORM NAME="theform" METHOD="post"
    ACTION="mailto:[email protected]?subject=Online Application Form for MinorityDealer." ENCTYPE="text/plain">
    <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="10" NOF="LY">
    <TH>
    <P>
         <FONT SIZE="3" FACE="Arial,Helvetica,Univers,Zurich BT">Online�Application</font></TH><BR>
    </TABLE>
    <table width="718" border="1" cellspacing="0" cellpadding="3" bgcolor="#CCCCFF" align="center">
         <tr>
    <td colspan="2"><font class="captionText">Name*�</font><br><input type="text" size="25" name="Name" class="bodyText">
    <div id="dName" name="dName" style="position:absolute;visibility:hidden"><font color="red">Name is Mandatory*</font></div>
    </td>
              <td colspan="2"><font class="captionText">Social Security Number*�</font><br><input type="text" size="9" name="SSN" class="bodyText">
              <div id="dSSN" name="dSSN" style="position:absolute;visibility:hidden"><font color="red">SSN is Mandatory*</font></div></td>
    </tr>
    <tr>
    <td colspan="2"><font class="captionText">Total Personal Assets</font><br><input type="text" size="10" name="TotPersAss3" class="bodyText"></td>
              <td colspan="2"><font class="captionText">Total Personal Liabilities & NetWorth</font><br><input type="text" size="10" name="TotPerLiab3" class="bodyText"></td>
    </tr>
         </tr>
    </TABLE>
    <IMG Valign="middle" name="imgSubmit" src="images/buttons/Submit.gif" width="66" height="29" border="0" alt="Submit">
    </code>

    Can any one do some help to solve this problem.
    Regards.

  • IPhone now sends emails using the wrong Exchange server

    I have 2 ActiveSync exchange accounts setup on my iPhone 4S, Gmail and Hotmail.  I have had this setup for awhile, and all of a sudden messages sent with a from: address of gmail.com is being sent by Hotmail.  The message appears in my Hotmail outbox, and headers reveal that it is being sent from hotmail on behalf of gmail.  This was never a problem in the past.  The default account is set to Gmail, and there is no SMTP account since it is Exchange-based.
    Thanks.

    I have the exact same issue reported here.  I have deleted all my mail account and re-added them.  The problem persists.  It does not seem to matter in what order I add the accounts, the messages always are sent from the live.com Exchange account, even if the message shows it is being sent from my work email.  If I delete the live.com account, things work just fine, but as soon as I add it back in, all mail routes through it.  I can see messages that should have been sent through my work Exchange server in the sent items on live.com.  This seems like a very bad bug in IOS...

  • HT1668 I cannot remove the draft write mail template from the mail application screen. Save draft works but cancel does not remove the draft template. I can send email using the template but it remains on screen preventing me from accessing any mail

    Still can't get rid of the template page

    I am not at all sure about what you are calling a draft email template. I have never seen one in the mail app and unless this is something that you created in Pages or some other word processing program I don't know what template you are describing.
    Anyway, this may work. Quit the mail app and them go back and see if the draft is still on the screen.
    Quit the app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Or try this.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons

  • We purchased a new iPad2 and registered it using a 'new' iCloud email/ID. We are unable to send email from the iPad and iPhone. The error is: Cannot send mail. The user name or password for iCloud is incorrect.

    We purchased a new iPad2 and registered it using a 'new' iCloud email/ID. We are unable to send email from the iPad and iPhone. The error is:>> Cannot send mail. The user name or password for iCloud is incorrect.

    About ~20 hours later, this ended up solving itself. We can send email using the '.icloud' email from both the iPad and iPhone.  Advise would be 'wait' before you start seeking alteranatives like yahoo, hotmail, etc.  This definitely is a convenient way to keep all your 'cloud' information in a centralized place, including the common email...

  • OSX Mail - Cannot send message using the server ....

    Hi there,
    Mac Pro with OSX 10.6.
    *Can receive mail, but can no longer send email* using the program Mail.
    Been getting the popup "Cannot send message using the server [shawmail.vc.shawcable.net] for the past 3 days. I hadn't changed anything about my computer, and have had the Mac for 2+ years. So this just started doing it on it's own.
    I had a technical support guy from my service provider even interface with my computer, where he could see my desktop right over the internet, and he couldn't get it fixed either.
    I googled this problem, and found solutions like:
    1. Uncheck "Use SSL" (Done that, and it was never checked "on" to begin with)
    2. Make sure Authentication is set to none, with no password (done that, and it wasn't set with a password to begin with)
    3. Delete [user]/Library/Preferences/com.apple.mail.plist (done that, didn't do anything)
    4. We even totally deleted my account, and started a new fresh one. Didn't work
    The tech support guy did show me a way to email online, using the same email account. That worked, but it's a hassle to go onto a web-based email program -- it's not my preference. So, with great certainty, it's not my service provider, because I was able to send emails on this web-based email program using my email account.
    So there, I'm stumped.
    Hopefully someone can help. What's bizarre is that googling this problem, I have found many other people that say it happens arbitrarily, out of nowhere.

    I can't believe how ridiculous this issue is. i have been searching for days for a solution to this. i have tried EVERY recommendation on these forums and nothing works. It appears that this issue dates back to TIGER. I had this problem back in January and just bagged figuring it had something to do with iweb. I bought a new html program and was able to send out my newsletter last month no problem. Suddenly, one month later- here i am again, unable to send out my newsletter with no help from Apple or verizon, or these forims, or anyone else. To think that a company that I have stood behind and loved so much can't be be bothered fixing such a simple issue that has been going on now through  5 OS's (I am using Lion but I had the issue using leopard as well)  is a disgrace.

  • For some reason yesterday and today I can not send mail using the icloud website and help?

    From some reason I can not send emails using the icloud website.  Not sure why any help

    Hi there tamarafromdarien,
    You may find the troubleshooting steps for iCloud Mail in the article below helpful.
    iCloud: Troubleshooting iCloud Mail
    If you can't send mail in OS X Mail
    If you receive this alert or a similar alert when sending a message from your iCloud email address in OS X Mail:
    “This message could not be delivered and will remain in your Outbox until it can be delivered. The reason for the failure is: An error occurred while delivering this message via the smtp server: server name.”
    In OS X Mail, choose Preferences from the Mail menu.
    Click Accounts in the Preferences window.
    Select your iCloud account from the list of accounts.
    Click the Account Information tab.
    Choose your iCloud account from the Outgoing Mail Server (SMTP) pop-up menu. Example: “Derrick Parker (iCloud)”.
    Note: The Outgoing Mail Server (SMTP) menu also includes an Edit SMTP Server List command. If you choose this command, be aware that the iCloud SMTP server won't be among the servers that can be edited. This is normal.
    If you're attaching a large file
    Message attachments can't exceed the maximum size allowed by your email service provider or the recipient's email service provider. The maximum size varies by service provider. Try compressing the filebefore sending it, or send your message without the attachment to verify that there are no issues with sending.
    -Griff W.  

  • Send email using Orchestrator email object

    We encounter intermittent issues while sending email using the Orchestrator email object. We've tried supplying values (anonymous/anonymous) for SMTP authentication, but this doesn't help. Is
    there a beta fix available for this error? Is there a
    workaround other than what is specified?<o:p></o:p>
    Error Details:
    Error sending e-mail.  Exception in sending email: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated
       at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
       at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)
       at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
       at SendEmail.Send(SendEmail* )

    I had this  message also when you do not specify a seperate account for authentication and use the service account instead.
    I suggest to make a seperate service account for mailing from orchestrator and set the credentials in smtp authentication. make sure to give this account a mailbox on his own OR give it the 'send as' rights on another mailbox and set the mailaddress
    as the send adres. (note: make sure you use the send as rights and not the send on behalf rights, as this doesn't work, also do not use both the send as AND the send on behalf permission at the same time.)
    when setting the send as permission take note that in exchange this default can take up to 2 hours to be effective.
    regards,
    Louis

  • Send email using CM API

    Is there a way to send emails using the SMTP Channels listed in Sys Adm - Sys Config - KM - config - CM - Utilities - Channels - EMAIL?
    Is there a Collaboration API for this? Javamail is one option but are there any other options?
    Thanks

    Hi Siddhartha,
    you can use the ChannelFactory of the KM API.
    The code would look somehow like:
    IChannel emailChannel = ChannelFactory.getChannel(ChannelFactory.EMAIL);
    Then use one of the <i>IChannel.sendTo</i> methods, to send the email.
    Another (more complex) way is to use the NotificatorService. The <i>NotificatorService</i> can take <i>INotification</i> objects, that will be processed by our XML/XSL Pipeline. The idea is to have a XML Template in the /etc/notification folder that is attached to a specific type of notification (e.g. Subscription), and which can be processed by a XSL (also in /etc/notification) to create a HTML/TEXT email. The is more complex but also more flexible to allow customers to simply change the notifications by editing the XML/XSL files.
    In this case the <i>NotificatorService</i> takes care of sending the (processed HTML) mail.
    Hope this gives some ideas....
    Regards Dirk

  • Send Email using service broker

    Hi,
    i have a service broker application that i send message to the queue and a specific SP reads the message and process it, part of this processing is sending the information found on that message to a specific email accounts. this means i have two service broker applicatins, one for my business (sending messages to queue to be processed and the secound one is the SendEmail service)
    when i send email using the SP "msdb.dbo.sp_send_dbmail" the email is recieved 100% true, but when i come to send the email through the SP which recieve the messages from the SB queue, the email is not sent and i dont know where it goes.
    this means that i cant read from a queue and send to another one at the same time... can you help me in this!
    -Rana

    Activated procedures execute under an EXECUTE AS context that prevents calls into anoter database (like msdb). See
    http://rusanu.com/2006/03/07/call-a-procedure-in-another-database-from-an-activated-procedure/ for details.
    This Solved my issue. 
    My Error
    The activated proc '[dbo].[usp_SB_Rcv_ApplicationError]' running on queue 'ServerDeadLockNotification.dbo.ApplicationError_Rcv_Q' output the following:  'The EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'.'
    Code Causing the Error:
    CREATE PROCEDURE dbo.usp_SB_Rcv_ApplicationErrorr
    AS
    BEGIN
    SET NOCOUNT ON;
    DECLARE @Handle UNIQUEIDENTIFIER;
    DECLARE @MessageType SYSNAME;
    DECLARE @Message XML
    DECLARE @BodyTable NVARCHAR(MAX);
    RECEIVE TOP (1) @Handle = conversation_handle,
    @MessageType = message_type_name,
    @Message = message_body
    FROM [ApplicationError_Rcv_Q];
    IF(@Handle IS NOT NULL AND @Message IS NOT NULL)
    BEGIN
    -- parse the message xml to get the error details
    -- build the HTML table for send_dbmail
    SET @BodyTable = (SELECT dbo.GetErrorEmailBody(@Message));
    -- send the mail on the default profile
    EXEC msdb.dbo.sp_send_dbmail
    @recipients='[email protected]',
    @subject = 'Errors',
    @body = @BodyTable,
    @body_format = 'HTML' ;
    END CONVERSATION @Handle;
    END
    END
    The Fix:
    ALTER DATABASE [ServerDeadLockNotification]
    SET TRUSTWORTHY
    ON

  • How to maintain format in html email using the send email....

    Does anyone know how to maintain the format in a HTML email using the Send E-mail To Recipients From Recordset behavior?
    When text only is selected instead of HTML text on the Options tab the format of the input is maintained, but when HTML text is selected the email has no format. I have tried to use a replace \n with
    as I have done when hand coding PHP, BUT I am trying to learn to use ADDT. I also tried to use a Custom trigger without success.
    Help!

    Hi Dave,
    in my snippets folder I have this thing which I found on the old MX Kollection forums and which was suggested by the Interakt staff:
    //trigger SendEmail (write content)
    function Trigger_SendEmail(&$tNG) {
    ob_start();
    include("myDynamicContentFile.php");
    $mailcontent = ob_get_contents();
    ob_end_clean();
    $emailObj = new tNG_Email($tNG);
    $emailObj->setTo("[email protected]");
    $emailObj->setFrom("[email protected]");
    $emailObj->setSubject("A new User was added");
    $emailObj->setContent($mailcontent);
    $emailObj->setEncoding("UTF-8");
    $emailObj->setFormat("text");
    $emailObj->setImportance("Low");
    return $emailObj->Execute();
    //trigger SendEmail (write content)
    The only modification is the possibility to include a dynamic PHP file rather than some static text or a HTML file which will also render textarea contents on one line:
    ob_start();
    include("myDynamicContentFile.php");
    $mailcontent = ob_get_contents();
    ob_end_clean();
    That said, it should be possible to define all the "rendering" options in the external PHP file, what would mean to apply the nl2br function there, e.g.: nl2br($row_queryname['columnname'])
    What I´m not sue about is, if you will have to strip the external file´s head and body tags before it´s getting included -- however, please give this a try and tell us how it worked.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • I have snow leopard.  Using iCloud, I an receive mail on my mac, but suddenly, I am no longer able to send email from the mac.  I can still send it from the icloud web site.  How do I regain the ability to send email from the mac?

    I have snow leopard.  Using iCloud, I can receive email on my mac, but, suddenly, I am no longer able to send email from the mac.  I can send it from iCloud online.  Any thoughts on how to regain the abilty to send email from my mac?  Thanks.

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Sending an email using the gmail client on the iPhone

    Hello,
    When I send an email using the gmail client on the iPhone, the message I send then shows up in my 'in box' and not my 'sent' box. Mail app on my computer behaves in the same manner. Is there a fix for this?
    Thanks for your help.

    Hi, its because gmail treats each message as a "conversation" rather than emails sent or recieved. so your sent email will say "from me" all in the same inbox. check this on the web based gmail...

Maybe you are looking for

  • How do I create database from bacpac on new Azure SQL DB Preview (v12)

    Hi, I want to restore a database from a bacpac on the new preview tier, but there is no option in the portal(s) to do it. If I try "import data-tier-application" in SSMS I get error:  The service objective 'Business' specified is invalid. (Microsoft

  • OK to use Aperture to maintain iPhoto Referenced Library

    I have Aperture and iPhoto. We are an OSX and Windows household. But thanks to the Windows 8 debacle, my wife (the diehard Windows user) has abandoned her PC with all regard to photos and videos (viewing, editing, sharing). Now, I use Aperture most o

  • Playing Visualizations on Secondary Monitor

    Hey guys, Do you know of any way to have the iTunes visualizations output on ONLY the secondary monitor. I would like to have a party and be able to change songs without the visuals cutting out on my LCD TV. Any help would be appreciated. -Brian

  • Incomplete handling unit only in final comfirmation

    Hi experts, could you please help to give your solution of the following senario? we use COWBPACK to pack for production order after order confirmation. Can it be realize that only with the final confirmation, imcomplete handling unit is allowed to b

  • Mysql problem

    When I want to do a recordset for use my database, all the time I got a error message like that. What can I do ?