Sending Email

Dear All,
I hv Used utl_mail package for sending mail, with attachement.
and its Showing Successfully Send but not reaching the Destination.
Codes are below
BEGIN
utl_mail.send_attach_varchar2
(sender => 'deepak',
recipients => '[email protected]',
bcc => '[email protected]',
subject => 'Test Mail',
MESSAGE => 'Test Mail',
mime_type => 'text; charset=us-ascii',
priority => 3,
attachment => 'TEst',
att_inline => FALSE,
att_mime_type => 'application/octet',
att_filename =>'filename'
END;
please help me to Solve this
thnkz
Deepak
Edited by: user8681779 on Sep 29, 2010 1:56 AM
Edited by: Deepak on Oct 4, 2010 6:01 AM
Edited by: Deepak on Oct 4, 2010 6:02 AM

user8681779 wrote:
BEGIN
utl_mail.send_attach_varchar2
(sender => 'deepak',Not a valid sender - this is used as parameter for the SMTP <i>MAIL FROM</i>) command. See RFC821 for details. The expected format is:
+<[email protected]>+
attachment => 'TEst',
att_inline => FALSE,
att_mime_type => 'application/octet',
att_filename =>'D:\Deepak\Pendrive\Books\Paulo Coehlo\Veronika decides to die.pdf'Where is the PDF document you want to attach? You need to supply that as either a raw or varchar2 variable. You cannot point to an existing external file somewhere - UTL_MAIL will not read the contents of that file and attach it to the mail. That part you need to do. Read the external file (or CLOB/BLOB) and then pass the contents as a raw or varchar2 variable via the attachment parameter.

Similar Messages

  • Cannot send email from yahoo account on iPhone 5

    I just got an iPhone5 and I couldn't set up my Yahoo email as "yahoo"--it would not allow me to complete the process despot multiple attempts. I had to set it up as an "other" account. I can receive and read emails on my phone, but when I reply those messages will not send. They go to the outbox and an error message pops up that says" the email account has been rejected by the server" Does anyone have advice on either issue: setting up yahoo properly and/or sending email from phone?

    outgoing mail server
    SMTP - Yahoo! SMTP Server
    primary server
    Yahoo! SMTP server - ON
    server port 465
    That's what I have for my yahoo account.

  • Cannot send email from non .mac server

    I am only able to send/reply emails using my .mac address. My 2 other server addresses keep giving me the following message.
    "Cannot send mail. One of the recipient addresses was invalid".
    How can I fix this?

    You should be able to send email from Safari, however I do wonder why you wish to do this and whether there is something inherently wrong with using your mail app and your iCloud address.

  • Cannot send email from MobileMe account

    Apple recently pushed out an update to the MobileMe calendar. Since upgrading my account, I am unable to send emails from Firefox4 (current version) in Windows. The page sits indefinitely at a loading screen. Apple Support won't help because it isn't an issue with Safari. Anyone else have this issue?

    When using the MobileMe account preset to create the account, the SMTP server is created with 587 as the SMTP server port, which can't be changed when using the MM account preset to create the account.

  • Cannot send email from Verizon to a specific domain using the web UI

    I'm trying to send an email to a specific address on a domain I own from a Verizon account using the web UI. Whenever I click send, a popup appears saying "Your e-mail contains the following invalid e-mail addresses:" followed by the email address. I can send email to this address from a GMail account as well as my work email.
    In Chrome, I can see that a "code":1002 error is being produced.
    Does anyone know why this would happen? Does Verizon check destination domains for reputation? Is there any way to debug this further?

    rhodeislandred wrote:
    I'm trying to send an email to a specific address on a domain I own from a Verizon account using the web UI. Whenever I click send, a popup appears saying "Your e-mail contains the following invalid e-mail addresses:" followed by the email address. I can send email to this address from a GMail account as well as my work email.
    In Chrome, I can see that a "code":1002 error is being produced.
    Does anyone know why this would happen? Does Verizon check destination domains for reputation? Is there any way to debug this further?
    What is the domain that is giving you the error?

  • Cannot send email from Powershell on Mailbox Role

    Hi,
    I am trying to send an email from Powershell on Mailbox role of Exchange server. I have installed Symantec Mail Security on Mailbox Role.
    When I try to send email using Powershell, I got the following error.
    PS C:\a> Send-MailMessage -to [email protected] -Subject "Alert Closed.. Service is restarted on Computer" -from
    [email protected] -Body "The service was found stopped on Computer it was started automatically and it is now running normally." -bodyasHTML -priority High -SmtpServer smtp.domain.com
    Send-MailMessage : Service not available, closing transmission channel. The server response was: 4.3.2 Service not active
    At line:1 char:1
    + Send-MailMessage -to [email protected] -Subject "Alert Closed.. Service is ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException
        + FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
    This command is working fine on every server except exchange server (CAS, Mailbox). Firewall is off on the servers.
    Any help will be highly appreciated.
    Regards,
    Anees

    Hi,
    Please check the similar thread .
    http://social.technet.microsoft.com/Forums/exchange/en-US/ef699832-8da9-4709-9a50-c6223b13bd95/sendmailmessage-returns-the-server-response-was-432-service-not-available?forum=exchangesvrsecuremessaginglegacy
    smtp server (smtp.domain.com) is rejecting the connection from the
     Mailbox role of Exchange server.
    So please allow the mailbox server ip address on the smtp server's (i.e. smtp.domain.com)
    receive connector to get it done 
    Regards
    S.Nithyanandham
    Thanks S.Nithyanandham

  • Cannot send email from an iPhone to a Outlook group.

    Hi,
    My question is simple and I'd like an exactly same answer : Can iPhone users send emails from their iPhone's to one or more groups created in Outlook?
    This is my situation: our organization is using iPhone to provide email, calendar, contact, task etc. to some of their employees. We are using Airwatch MDM Agent on user's iPhone because we have an Airwatch server in place. I have an user and she has an iPhone 5 and she has created some groups in Outlook but these groups are not reflected in her Contacts in the iPhone. I have update her phone with the latest update, although I was almost sure that this was not the issue, then I've found some interesting posts on internet saying that this was a known problem for the users with the previous iOS but I thought this might has been corrected with the iOS, apparently not.
    Also I've tried ''the trick'' that is posted on several forums with the iCloud but neither so it's working. I am looking for a straight answer, if this works or not on iPhone's?
    Thanks,
    Sebastian.

    There indeed ARE apps in the app store that will do what you want.  Just search and find the one that best fits your needs.

  • Cannot send email from the Mail App?

    I've had an izymail subscription for 1 year and just renewed it last week. I could never send an email from my Mail App without a window popping up stating "izymail cannot connect to the server" and the sending bar (along the bottom of the screen) just freezes and will not send.
    I've a Hotmail account linked up to izymail. Anyone know how to fix this problem?

    I fixed my problem - I deleted my email account on my iPhone, then tried to setup a new account. I had a few problems setting it up. It wouldn't recognize the incoming or outgoing servers and I lost my email altogether for a few hours. Then I changed every setting possible and finally figured out that I had 2-3 "Other SMTP Servers" as well as my "Primary Server". Once I deleted the Other SMTP Servers, my email worked and i'm able to send emails now!
    I also think changing the "Server Port" number helped solve my problem also, and making sure "Use SSL" was turned off.

  • Cannot send email from sbcglobal account

    Does anyone from Apple take what's discussed here back to a department that is useful in getting bugs fixed? I hope so. I am making this post although I know that NONE of you have an answer to my question that is satisfactory. I will come back to this thread as often as possible in hopes that the next update my finally fix my issue. For the love of all things, I just want to send email via IMAP like this article says I should:
    http://docs.info.apple.com/article.html?artnum=306074
    To be clear for you all, I've set up my sbcglobal account as detailed above...ie, using yahoo. This worked great for me until I applied the 1.0.1 update. Since then, I cannot send an email to save my life. Though receiving has worked just great.
    I am well aware that I can set up my sbcglobal account using pop3/smtp. This is an annoying work around to me, not a solution. If I set it up using pop3, I loose all kinds of ability I had with IMAP. This is a documented feature that is supposed to work on the iPhone, and it doesn't. I see no reason I should have to go back to an older technology/protocol.
    I've submitted multiple comments on the iphone about this. I just pray that someone at Apple fixes this soon. I'm so frustrated, and of course way past my point of returning the dang phone.

    Here's the response I received from Yahoo following the link you posted. As usual, nothing that moves the problem closer to a solution. First, there is an attempt at deflecting the problem by pointing out all the other great services Yahoo offers. Note the operative word "some". That's the whole reason I am writing the note. I already know that "some" of the services are working. I'm wondering about the one that doesn't so this doesn't help. Next comes pass the buck. Go talk to Apple about it. No comment on that one, it speaks for itself. And finally, if none of that works please give me more information. I'll call that reflection. So now its back to me. I think I'll take the ball and go home. For what its worth the response is below:
    I understand that you are having issues with the Yahoo! Mobile service.
    I understand that your sbcglobal.net accounts are not working with the
    IMAP push email option on your mobile device.
    Allow us to inform you that you are able to access some of Yahoo!s most
    popular services on this device - Yahoo! Mail, Yahoo! Address Book,
    Yahoo! Weather, Yahoo! Finance and Yahoo! oneSearch. If you are looking
    for assistance regarding your Yahoo! customizations featured in the
    Apple iPhone widgets, please contact Apple Care at:
    - URL: www.apple.com/support/iphone or
    - Phone: 1-800-MY-IPHONE or
    - go to www.apple.com/iphone for more information.
    However, if you are still encountering an issue with our service. In
    order for us to better understand this issue we will need some
    additional information:
    - The text of any error messages received
    - Exact steps taken that lead up to this event
    If you can describe it in more detail or other pertinent information,
    we'll be happy to help in whatever way we can.
    Thank you again for contacting Yahoo! Mobile Tech Support.
    Regards,
    Timothy
    Yahoo! Mobile Tech Team

  • Cannot send email from iPhone5--calendar syncing issues also

    I have an iPhone 5 and am not currently using iCloud.  I have 3 email accounts. 
    The first is a yahoo email account--and it both receives & sends emails just fine. 
    I use Outlook for the other two email accounts (one is an IMAP and the other is a POP).  Both receive email, but I cannot send out emails from my iPhone.  When I try to send an email from either account, I get this message: 
    "A copy has been placed in your Outbox.  The sender address "[address I used]" was rejected by the server.
    Also, I don't know if it is related, but my iPhone calendar isn't syncing with Outlook.  I add an appointment on my iPhone or in Outlook, and it won't appear in the other location (Outlook/iPhone). 
    Thanks for your help. 

    Check your settings, maybe the mail index is at fault.
    Setup Wizard and troubleshooting tips:
    http://www.apple.com/support/mail
    Also has a link to Mail community section.

  • Cannot send email from scanned pages

    I am having trouble with the updated HP remote app on Ipad, since the update I can scan the pages in, but then cannot send them via email. This is qute important because i work remotley from the office and rely on getting my design drawings in on a nightly basis
    please help

    cannot send email from scanned pages

  • Cannot send email from ipad?

    I can receive, but cannot send emails from my iPad. Always get message that I have wrong user name or password.

    Then make sure that the settings are correct in your email account.
    Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • Cannot send email from Exchange 2007 to Exchange 2013

    Hello Anyone,
    Anyone can help? I've prepare MS Exchange 2013 already, for Migration MS Exchange 2007 and I got the issue.
    My issue is I can't send email from Exchange 2007 to Exchagen 2013, but for Exchange 2013 can send email to Exchange 2007,
    is my issue only internal email for external email both Exchange server is working fine.
    Regards,
    Eakkasak

    Thanks for your reply, when I send email from Exchange 2007 to Exchange 2013 I'm get the error message below.
    Delivery is delayed to these recipients or distribution lists:
    Eakkasak Buajan
    Subject:
    This message has not yet been delivered. Microsoft Exchange will continue to try delivering the message on your behalf.
    Delivery of this message will be attempted until 8/29/2014 8:30:29 PM (GMT+07:00) Bangkok, Hanoi, Jakarta. Microsoft Exchange will notify you if the message can't be delivered by that time."
    I'm already tick  "Exchange server Authentication" in the Default Receive connector properties of Exchange 2013"
    I'm restart services and restart all Exchange Server but doesn't work.
    Thanks,
    Eakkasak
    Sent by Microsoft Exchange Server 2007

  • Cannot send email from my mobileme on iphone 3g

    Suddenly coudn't access my mobileme email account. So I changed my password; and since I couldn't send email from my iphone 3G
    I can send/receive emails from icloud webpage or Thunderbird.
    Any clues?

    outgoing mail server
    SMTP - Yahoo! SMTP Server
    primary server
    Yahoo! SMTP server - ON
    server port 465
    That's what I have for my yahoo account.

  • Cannot send email from mail after moving to iCloud

    I have just moved to iCloud and now I cannot send email but can still receive email

    Hi Judy,
    Problem solved.
    Go into Mail/Acounts and delete you iCloud account.
    Now add a new account and type in your details for MobileMe/iCloud.
    It should now work. O noticed the default server name is different.
    Hope this helps.
    Yours,
    Charlie

  • Cannot send email from Iphone. A setting is off.

    What are the correct settings to send email from my aol account that's included in my I Cloud acct. any suggestions???? Thanks Sue

    Read this
    How do I set up AOL Mail on my iPhone or iPod Touch? - AOL Help

Maybe you are looking for

  • Apple Bluetooth Headset - Paring with Windows and Other Questions

    Love my new Apple Bluetooth Headset, works great. My first one did have a problem with poor range but this one is a lot better. I've been wanting to use the headset as a mic. Windows XP finds the headset find but I can't tell if it's connecting or no

  • HT4864 Is there any way to use POP mail with iCloud?

    Hi newbie here, so be kind!  Just trying to set up iCloud on my new iPad, my iPhone 3G and my oldish Windows PC running Vista.  I have managed to get the iPad and iPhone running relatively well, but the real reason I wanted to synch all my devices wa

  • USING SUBQUERY IN SELECT STATEMENT

    I am looking at reusing the results of a first query in a second select statement. I have a first table "ACTIVE_FIELDS" in which I maintain the columns I want to query. Table name ACTIVE_FIELDS Field - Status CODE - ACTIVE DESCRIPTION - ACTIVE NAME -

  • I've changed my last name and want to change the details in my .mac account. Any ideas?

    I've recently changed my last name and although I've created an alias (now @icloud.com sadly instead of @mac or @me!) I can't figure out how to change my name so that the 'sender' name reflects my name change. Any help gratefully received! Just one o

  • T-SQL how to set last row as first

    Hi, I have the following query: SELECT leveltmp, 'Level ' + CAST( leveltmp as varchar(5)) + ' (' + STUFF((SELECT top(3) ', '+ BES.Name FROM BESTB BES WHERE BES.leveltmp = BE.leveltmp AND BESId=2 FOR XML PATH('')), 1, 1, '') + ',...)' as 'level' FROM