Email with Attachments - the FROM address

Hello,
I am using the Email with Attachments QPAC and filled out the FROM tab with my email address that I want to use. However, when the email is sent, the FROM email being used is the one that is configured for the Workflow Server. So, why is the FROM address specified in the QPAC not being used or what is the point of this From tab? I would assume we can specify something differently from the Workflow Server's email?
Thank you,
Jennifer

Hi
There is some weirdness in the logic of the Email QPAC.
Populate the "Login Name" field in the QPAC with some dummy data, and then uncheck the checkbox that says "Use Authentication". The QPAC will ignore the Login name, but will start observing the from address.
Weird, but it seems to work.
Thanks to Michael Sherwood for the workaround.
howard
http://www.avoka.com

Similar Messages

  • I am using a mac mini (10.8.3) with Mac Mail 6.3 (1503).  Whenever I try to forward an email with attachments, the attachments do not make it.  They show being sent, but the attachments never are sent.

    Hey Guys,
    The title says it all.  Whenever I receive an email with attachments, I will try to forward the email to someone with the attachments.  Mac Mail shows that the attachments are attached, but the receiver says the attachments are not there. Our mail host is Rackspace.  We are setup with IMAP.  It should be noted that we are experiencing similar issues with OS 10.5.8 with Mac Mail 3.6 (936).
    We assumed Rackspace was the problem, so we logged into their webmail portal and tested it and the attachments were received as normal, which points everything back to Mac Mail.  We even had an ISP change but the problem do not change.
    I have researched the problem, and there seems to be evidence of this being a known bug with Mac Mail, but I am hoping there is a workaround.  The company is unwilling to move to a different mail client since they use Daylite 4, which does not support Thunderbird.

    Back up all data.
    1. Triple-click the line below to select it:
    ~/Library/Mail/Bundles
    Right-click or control-click the highlighted line and select
    Services ▹ Open
    from the contextual menu. A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
    2. Repeat with this line:
    /Library/Mail/Bundles
    This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.

  • SOA Suite 11g - Email with attachments (Attachment from SOAP attachment)

    Hello,
    Can any one please help as to how I can do the following in Oracle SOA 11g:
    Using a BPEL process how can I send an Email with attachments where the attachment itself is coming from a SOAP attachment.
    The back ground is that we have portal sites from where the users can upload a document and then from their a SOA service is invoked and the attachment would be passed as (SOAP attachments) and then emails have to be send to users containing this uploaded document as the attachment.
    Thanks.
    feel free to email me [email protected]

    Yes, I need all supported standards and their version of SOA Suite 11g because my customer wants to upgrade from 10g to 11g, especially all supported standards and version number of OBPM 11g and OBPM 10g.
    A people has pasted all support standards and version number of OBPM 10g. I get a standard list of OSB.
    OBPM 11g supports:
    BPEL
    xml 1.0
    Servlet 2.3\JSP1.2 (J2EE 1.2),
    Servlet 2.4\JSP2.0(J2EE 1.4),
    Servlet 2.5\JSP2.1(Java EE 1.5)
    UDDI
    SOAP
    WSDL
    WS-BPEL for People
    XML Schema
    XPDL
    SOAP
    XQuery
    XLIFF
    XSL map
    XSLT
    UML
    Ant
    EJB 2.1, JPA/EJB 3.0
    JAAS
    Spring
    JAXB 1.0, JAXB 2.0
    XHTML
    HTML
    JSP
    JSF
    JSR-168
    XSQL
    WS-Policy
    But I cannot find the document about version number of the above standards

  • Mail crashes when viewing emails with attachments sent from outlook

    This problem is intermittent -- and I have a hard time reproducing it consistently. This crash seems to creep up every two weeks.
    When I click on an email that was sent from outlook that contains an attachment (usually word documents), mail immediately closes and I get the "mail unexpectedly quit, do you want to reopen?" message.
    The only data loss is if I had any opened drafts that had not been sent, and mail does not keep any draft windows open. However, this is frustrating for my particular work flow, because I usually keep 10-20 drafts neatly tiled on my second monitor, so that I can quickly look at emails that are currently in my pipeline. I can go back into the drafts folder and re-open, but the drafts open in new windows at the default size, not small and tiled the way I like. .Mac also has a tendency to create and save duplicate drafts, so I have 100 drafts, despite only caring about 20 of them. I try to go through and delete old drafts once a month, but it's tedious. Going through and fishing out the current 20 drafts is annoying after this crash.
    So I'm trying to figure out a way to avoid this crash. I read on a forum that this might be a problem with emails that are formated in HTML, and that I could use the terminal to force mail to display plain text by default. I used the following string:
    defaults write com.apple.mail PreferPlainText -bool TRUE
    I was expecting this to force every incoming email to be the same default plain text font, but it only seems to disable emails with heavy HTML with images and what not...
    Any ideas about how to avoid this crash? Every time this happens I close mail and repair permissions, but it always happens again.
    One additional note -- I have 5 accounts, and my inbox is very big (over 12,000 emails). Is this part of the problem?
    Running OS 10.4.8 on a dual 2.7 ghz G5 with 1.5 gb ram. Mail version 2.1
    Any help would be greatly appreciated!
    Thanks,
    Andre
    G5   Mac OS X (10.4.8)   my inbox is very big (over 12,000 emails)

    Host Name: Power-Mac-G5
    Date/Time: 2006-12-21 12:08:33.936 -0500
    OS Version: 10.4.8 (Build 8L127)
    Report Version: 4
    Command: Mail
    Path: /Applications/Mail.app/Contents/MacOS/Mail
    Parent: WindowServer [56]
    Version: 2.1 (752)
    Build Version: 1
    Project Name: MailViewer
    Source Version: 7520000
    PID: 7555
    Thread: 10
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNINVALIDADDRESS (0x0001) at 0x50686f94
    Thread 0:
    0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
    4 com.apple.HIToolbox 0x93208740 RunCurrentEventLoopInMode + 264
    5 com.apple.HIToolbox 0x93207dd4 ReceiveNextEventCommon + 380
    6 com.apple.HIToolbox 0x93207c40 BlockUntilNextEventMatchingListInMode + 96
    7 com.apple.AppKit 0x93730ae4 _DPSNextEvent + 384
    8 com.apple.AppKit 0x937307a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
    9 com.apple.AppKit 0x9372ccec -[NSApplication run] + 472
    10 com.apple.AppKit 0x9381d87c NSApplicationMain + 452
    11 com.apple.mail 0x000871d8 0x1000 + 549336
    12 com.apple.mail 0x00087080 0x1000 + 548992
    Thread 1:
    0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
    4 com.apple.Foundation 0x92970164 -[NSRunLoop runMode:beforeDate:] + 172
    5 com.apple.Foundation 0x9297009c -[NSRunLoop run] + 76
    6 com.apple.MessageFramework 0x9abd1198 +[_NSSocket _runIOThread] + 92
    7 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    8 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 2:
    0 libSystem.B.dylib 0x9001f08c select + 12
    1 com.apple.CoreFoundation 0x907ef40c __CFSocketManager + 472
    2 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 3:
    0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
    4 com.apple.Foundation 0x9298869c +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
    5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 4:
    0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
    4 com.apple.Foundation 0x929897dc +[NSURLCache _diskCacheSyncLoop:] + 152
    5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 5:
    0 libSystem.B.dylib 0x9000ab48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific + 268
    4 com.apple.Foundation 0x92970164 -[NSRunLoop runMode:beforeDate:] + 172
    5 com.apple.Foundation 0x9297009c -[NSRunLoop run] + 76
    6 com.apple.WebKit 0x95ac3ef0 +[WebFileDatabase _syncLoop:] + 176
    7 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    8 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 6:
    0 libSystem.B.dylib 0x9002bbc8 semaphorewait_signaltrap + 8
    1 libSystem.B.dylib 0x900306ac pthreadcondwait + 480
    2 com.apple.Foundation 0x92968300 -[NSConditionLock lockWhenCondition:] + 68
    3 com.apple.AppKit 0x937cd708 -[NSUIHeartBeat _heartBeatThread:] + 324
    4 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    5 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 7:
    0 libSystem.B.dylib 0x90054ae8 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x90054944 pthreadcondtimedwait + 676
    2 com.apple.Foundation 0x929e05a0 FCONDITION_WAITTIMEOUT + 144
    3 com.apple.Foundation 0x929e04bc -[NSConditionLock lockWhenCondition:beforeDate:] + 128
    4 com.apple.MessageFramework 0x9abccd90 -[InvocationQueue _drainQueue] + 176
    5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 8:
    0 libSystem.B.dylib 0x90054ae8 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x90054944 pthreadcondtimedwait + 676
    2 com.apple.Foundation 0x929e05a0 FCONDITION_WAITTIMEOUT + 144
    3 com.apple.Foundation 0x929e04bc -[NSConditionLock lockWhenCondition:beforeDate:] + 128
    4 com.apple.MessageFramework 0x9abccd90 -[InvocationQueue _drainQueue] + 176
    5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 9:
    0 libSystem.B.dylib 0x90054ae8 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x90054944 pthreadcondtimedwait + 676
    2 com.apple.Foundation 0x929e05a0 FCONDITION_WAITTIMEOUT + 144
    3 com.apple.Foundation 0x929e04bc -[NSConditionLock lockWhenCondition:beforeDate:] + 128
    4 com.apple.MessageFramework 0x9abccd90 -[InvocationQueue _drainQueue] + 176
    5 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 10 Crashed:
    0 <<00000000>> 0xfffeff18 objcmsgSendrtp + 24
    1 com.apple.Foundation 0x9293d968 NSPopAutoreleasePool + 536
    2 com.apple.MessageFramework 0x9abcceb4 -[InvocationQueue _drainQueue] + 468
    3 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    4 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 11:
    0 libSystem.B.dylib 0x90054ae8 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x90071168 pthreadcond_timedwait_relativenp + 556
    2 ...apple.AddressBook.framework 0x94d4bcac -[ABRemoteImageLoader workLoop] + 132
    3 com.apple.Foundation 0x92961194 forkThreadForFunction + 108
    4 libSystem.B.dylib 0x9002b508 pthreadbody + 96
    Thread 10 crashed with PPC Thread State 64:
    srr0: 0x00000000fffeff18 srr1: 0x100000000000f030 vrsave: 0x0000000000000000
    cr: 0x44000224 xer: 0x0000000000000000 lr: 0x000000009293d968 ctr: 0x000000009012b258
    r0: 0x0000000000000001 r1: 0x00000000f0080920 r2: 0x00000000006be61c r3: 0x0000000015ec7150
    r4: 0x0000000090aa8904 r5: 0x00000000000003e8 r6: 0xffffffffffffffff r7: 0x000000001579d000
    r8: 0x0000000000000001 r9: 0x00000000006be000 r10: 0x000000000000000c r11: 0x000000006f548904
    r12: 0x0000000050686f74 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
    r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x0000000000000000 r19: 0x0000000000000000
    r20: 0x0000000000000000 r21: 0x0000000000000000 r22: 0x0000000000000000 r23: 0x0000000000000000
    r24: 0x0000000000000000 r25: 0x0000000000000000 r26: 0x00000000aabccce0 r27: 0x0000000000000000
    r28: 0x0000000016c81120 r29: 0x0000000015ec7150 r30: 0x0000000016010b30 r31: 0x000000009293d764

  • Why is it when I save an email with attachments, the attachments are not in the saved email?

    Does anyone know why it is when you save an email that has images (attachments) when you go to access the file again with the images, they are not in the document?
    The box marked "save attachments" is ticked?
    I dont understand
    Can anyone help?
    Thanks

    Is this your Apple account or some other mail?
    And are they all in the Inbox of your Mail? If so, rebuild the mailbox. If this is huge, it'll take some time.
    IF the images are HUGE, it'll take time to download them from the server to your computer. But once done they should remain there without the need to do anything at all (by default they are already saved).
    To click the Save button is to save them somewhere on your hard drive ... maybe to offload elsewhere later.
    Actually, you could just as easily save them to iPhoto instead of using Mail to look for and view them. Its a much faster viewing process, and you could set them up by dealers, artists, etc. ... or so I think.

  • How do I send email with a different "From:" address?

    Hi,
    I have an email account that forwards to my mac.com account, and on my iPhone I have it set up to sync mail with that MobileMe account. Push is working fine and I can send and receive email.
    What I'd like to do, though, is set it so by default my outgoing email uses my other email address, not my mac.com address. Ideally, people wouldn't have to know about my mac.com account at all. I can do this on the Mac by setting email addresses in the settings, but can't figure out how to do it on the iPhone.
    I'm aware that I could set it up to check the first account directly, but I prefer forwarding that mail to the mac.com account so I get the syncing and push that's available there and not with a regular IMAP account.
    Is there any way to do this?
    Thanks
    JT

    Hello,
    There seems to be a big difference in sending group mails with maverick. I use groups so that individual addresses don't show up. But with maverick a had a realy bad supprise seeing all of the addresses expanded in the mail I send.
    I checked the preferences and the option "when sending to a group show all memeber addresses" isn't checked but they show up anyway. I tested with a small group and there seems to be now way to avoid it.
    This is realy embarassing and I'm very ashamed that I send a message that way to numerous professional contacts.
    Please correct this bug fast........ since mail isn't usable in a professional setting this way.

  • Email with attachments QPAC: setting "From" using process data doesn't work

    Hi,
    I trying to set the "From" in the Email with attachments QPAC from a process variable, let's call it "mailagent", which is of type xs:string.
    So I use a set value QPAC, which sets the "mailagent" variable to "[email protected]". The workflow then continous with the Email QPAC.
    Which stalls and throws the following exception:
    javax.mail.MessagingException: 501 Syntax error, parameters in command "MAIL FROM:<{$/process_data/@mailagent$}>" unrecognized or missing
    Hrm. I thought, I had already used the Email QPAC this way.
    Is there some kind of magic to apply to the Email with attachments QPAC in order for it to accept process data in the "From"?
    Steve

    Yes, I'm sure, it worked for us to. But it obviously no longer does.
    Yes, "mailagent" definitely is a variable of type string, though it's of type
    xs:string. I'm no longer able to create variables, which don't feature the
    xs namespace. Which is quite confusing as I've got absolutely no idea, what the
    xs is used for.
    We are using LiveCycle Workflow 7.2.1, the Email QPAC is 7.0.2. Is this the latest version?
    Steve

  • Problem When Forwarding Email Attachments / Email With Attachments

    I posted a response in a related thread that describes my problem, but have found no solution so I thought I should create a new thread and solicit direct advice for this issue.
    I sync 2 (sometimes 3) Yahoo Email accounts to my iPhone 4. Due to firewall issues at work accessing 'personal email', I often email myself files as attachments, then forward them to others using my iPhone. Having recently upgraded from iPhone 3G to 4, now when I forward an email with attachments, the attachments get zapped to 0B and effectively do not forward. It may show an icon or have the file, but it's an empty file. I always select "Include Attachments" when it asks, but the functionality is not working the way it is supposed to.
    I've tried forwarding .xls .doc and .zip files so far. Even a small 180kB file won't forward.
    The only exception seems to be if I click the attachment, let it fully download, then forward the email. That works for 'standard' types of files, but I didnt have to do this step in the previous iOS, so I am wondering - Is that normal now?
    What about other types of files besides office and adobe? If the iPhone doesn't have support for me to view the file on my phone, I can't "download" it before forwarding. Example is a zip file. It shows as a "?" in my email, so I cant download it, so when I forward it it kills the attachment.
    Regardless what the phone supports to view, if I just want to forward an email from the server along to someone else, it should have the freakin' attachments! This doesn't seem to be the case for all situations though.
    Would seriously appreciate a confirmation others have this issue (go ahead, try to send yourself a zip file and then just forward it back to your PC) and any solutions that might explain how to correct this problem. Maybe there's a server setting or another way of setting up the email accounts that would fix it.
    Thanks all

    Being able to forward as an attachment would be such a useful feature. Forward as in-line text works but this is no good if you want to retain the original email headers or smime content.
    One prime example is the use of SpamCop.net where you need to be able to send the original mail (including headers) for SPAM processing. Forward as attachment is the easiest way to do this.
    Come on Apple, please help us, without the "Forward as Attachment" it make it difficult for us to quickly report SPAM or forward documents. Can it really be that hard to implement?
    Vote... Vote...

  • Adding a Contact Form, is it possible to change the FROM address in the header to the submitter's email address?

    As it stands now the FROM address used is the site default (mine); using REPLY in the resulting email from the form should have the submitters email address not mine. I was able to switch this in the code (form-u1768.php) of an earlier version of MUSE. The PHP has changed in the current version (2014) and I'm not seeing how to pull off the same manual tweak. Any Ideas? Thanks!

    I found this: Re: In adobe muse, how do you control the replyto address for a form?  The site I'm working on is uploaded via FTP to another host.  So, "...the email 'reply-to' header is filled in with the email address entered by whoever filled out the form, so you can hit 'reply' in your email software to reply to the form submitter."  However, what if I want to take my chances on the form mail coming out of my site? Is there a tweak in the PHP that I can perform to change the FROM address to the same as REPLY-TO? Is there any reason this wouldn't work:
    function get_email_headers($to_email, $form_email) {
      $headers = 'From: ' . $form_email . PHP_EOL;
      $headers .= 'Reply-To: ' . $form_email . PHP_EOL;
      $headers .= 'X-Mailer: Adobe Muse CC 2014.1.6 with PHP' . PHP_EOL;
      $headers .= 'Content-type: text/html; charset=utf-8' . PHP_EOL;
      return $headers;
    ...vs. the way it is coded by MUSE:
    function get_email_headers($to_email, $form_email) {
      $headers = 'From: ' . $to_email . PHP_EOL;
      $headers .= 'Reply-To: ' . $form_email . PHP_EOL;
      $headers .= 'X-Mailer: Adobe Muse CC 2014.1.6 with PHP' . PHP_EOL;
      $headers .= 'Content-type: text/html; charset=utf-8' . PHP_EOL;
      return $headers;

  • Unable to move email with attachments from local folders to icloud

    I'm in the process of migrating my email to icloud. I've been able to move all emails without attacments from local folders to the cloud but evrytime I try to move emails with attachments I get one of two errors, either the imap server times out or it's unable to establish a secure connection (SSL).
    Anyone else come across this or point me in the right direction.
    And yes - I have been searching Google all afternoon and have not been able to find anything.

    I do not have an answer to your problem but am interested in following this thread because I would like to get off the Mail application and do everything in iCloud.  My problem is I have a ton of messages in Mail folders, on my MacAir. I don't know how to get them to iCloud folders.  At this point I keep the attachments in folders on the HD so I don't need the attachments to come but I do need the message.

  • Have searched Forums for quite some time now. Cannot find a correct answer to: how do I prevent my old email address from appearing as the "from:" address

    Have searched Forums for quite some time now. Cannot find a correct answer to: how do I prevent my old email address from appearing as the "from:" address when I use a "send this" link on a webpage/news article. The email window opens and automatically inserts my old Hotmail address instead of the Yahoo address I've used for a long time. (The drop-down won't let me change it or delete it.) Thanks.

    Do you get a drop down list with suggestions if you clear that "from" field and click elsewhere on that page to move the focus off that field and then double-click again in that field or start typing the first letters of that unwanted email address?
    Use these steps to remove saved (form) data from a drop down list:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *Form History Control: https://addons.mozilla.org/firefox/addon/form-history-control/
    *Tahoe Data Manager: https://addons.mozilla.org/firefox/addon/data-manager/

  • Send email with attachments from oracle procedure

    This is my procedure
    CREATE OR REPLACE PROCEDURE send_parvo_email IS
    v_header varchar2(200);
    v_file UTL_FILE.FILE_TYPE;
    v_count Number;
    v_letter Varchar(50);
    req UTL_HTTP.REQ;
    req1 UTL_HTTP.REQ;
    resp UTL_HTTP.RESP;
    resp1 UTL_HTTP.RESP;
    url VARCHAR2 (2000);
    url1 VARCHAR2 (2000);
    val varchar2(4000);
    val1 varchar2(4000);
    p_start_date DATE;
    p_end_date DATE;
    v_shipment_id varchar2(30);
    --v_start_date  DATE;
    --v_end_date DATE;
    Cursor C1 is select shipment_id
    from ship_hdr
    where trunc(create_time) = trunc(sysdate);
    BEGIN
    v_letter := 'r_parvo_b19_rpt';
    select trunc(sysdate-7),trunc(sysdate-2)
    into p_start_date,p_end_date
    from dual;
    Open C1;
    Fetch C1 into v_shipment_id;
    Close C1;
    save_parvo_email;
    UTL_HTTP.SET_PROXY (null,null);
    url :=
    utl_url.ESCAPE
    ( 'http://hbc-maroon.heartlandbc.org/reports/rwservlet?userid=test/[email protected]&subject="Parvo Testing Report"&destype=mail&FROM=[email protected]&desname=[email protected]&desformat=PDF&ENVID=QA&report='||v_letter||'&start_date='||p_start_date||'&end_date='||p_end_date);
    req := UTL_HTTP.BEGIN_REQUEST (url);
    UTL_HTTP.SET_HEADER (req, 'User-Agent', 'Mozilla/4.0 Oracle');
    resp := UTL_HTTP.GET_RESPONSE (req);
    UTL_HTTP.READ_LINE (resp, val, TRUE);
    UTL_HTTP.END_RESPONSE (resp);
    Update ship_dtl
    set shipment_printed = 'Y'
    where shipment_printed is null
    and trunc(coll_date) between p_start_date and p_end_date;
    commit;
    END;
    This works fine and sends email with the report as attachment. The attachment is report_name.pdf. I want to change this attachment to be named as shipment_id.pdf. Is this possible and how?
    If there is any other method to sent email with attachments . ie run the report and attach the report to the email not as report_name.rdf but shipmenmt_id.rdf

    This is my procedure
    CREATE OR REPLACE PROCEDURE send_parvo_email IS
    v_header varchar2(200);
    v_file UTL_FILE.FILE_TYPE;
    v_count Number;
    v_letter Varchar(50);
    req UTL_HTTP.REQ;
    req1 UTL_HTTP.REQ;
    resp UTL_HTTP.RESP;
    resp1 UTL_HTTP.RESP;
    url VARCHAR2 (2000);
    url1 VARCHAR2 (2000);
    val varchar2(4000);
    val1 varchar2(4000);
    p_start_date DATE;
    p_end_date DATE;
    v_shipment_id varchar2(30);
    --v_start_date  DATE;
    --v_end_date DATE;
    Cursor C1 is select shipment_id
    from ship_hdr
    where trunc(create_time) = trunc(sysdate);
    BEGIN
    v_letter := 'r_parvo_b19_rpt';
    select trunc(sysdate-7),trunc(sysdate-2)
    into p_start_date,p_end_date
    from dual;
    Open C1;
    Fetch C1 into v_shipment_id;
    Close C1;
    save_parvo_email;
    UTL_HTTP.SET_PROXY (null,null);
    url :=
    utl_url.ESCAPE
    ( 'http://hbc-maroon.heartlandbc.org/reports/rwservlet?userid=test/[email protected]&subject="Parvo Testing Report"&destype=mail&[email protected]&[email protected]&desformat=PDF&ENVID=QA&report='||v_letter||'&start_date='||p_start_date||'&end_date='||p_end_date);
    req := UTL_HTTP.BEGIN_REQUEST (url);
    UTL_HTTP.SET_HEADER (req, 'User-Agent', 'Mozilla/4.0 Oracle');
    resp := UTL_HTTP.GET_RESPONSE (req);
    UTL_HTTP.READ_LINE (resp, val, TRUE);
    UTL_HTTP.END_RESPONSE (resp);
    Update ship_dtl
    set shipment_printed = 'Y'
    where shipment_printed is null
    and trunc(coll_date) between p_start_date and p_end_date;
    commit;
    END;
    This works fine and sends email with the report as attachment. The attachment is report_name.pdf. I want to change this attachment to be named as shipment_id.pdf. Is this possible and how?
    If there is any other method to sent email with attachments . ie run the report and attach the report to the email not as report_name.rdf but shipmenmt_id.rdf

  • I need to change the "from" address (the "add to addressbook" address) in the first line of emails that I send. How do I do this?

    I need to change the "from" address (the "add to addressbook" address) in the first line of emails that I send so that people reply to my email alias not the address where my emails originate. How do I do this?

    So you have added a new 'Identity' to your existing email address.
    If someone sends an email using that 'other identity'
    you have a choice of where those received emails can go. they can be received into the original mail account, like a collect all in the one Inbox or perhaps sent to Local Folders, so you can see them as separate. Or you can filter on that identity to put those emails in a specific folder.
    When you REply to any incoming mail that has used that new identity email address, it will use the new identity in the Email address in FROM assuming the received email in the main mail account of which the new identity email is applied.
    This should also now offer the added identity email address as an option in the FROM drop down list. So you can easily swap when sending an email if required.
    If you want to send using your default email address to people, but want their reply to use the identity email address:
    Tools > Account Settings
    select the original email address mail account name
    Where it says: 'Reply to addresses: enter the reply to identity email address.
    click on OK
    This means when they click on 'Reply' it will auto insert the Reply-to option.
    This will work providing it is a 'Reply' to an email you sent which contains the Reply-to email address.
    If someone is not actually replying by using the Reply-to new identity email address:
    In other words they are sending you a new email using the original email address because perhaps that is the one in their address book or the one they located on a webpage etc.
    Then, when you select to Reply to that email, it will use the email address to which it was sent to in the FROM field - the original email address. Hence why you would need to select the new identity FROM in the drop down list.
    One way to get around this is set out below.
    If you do not use an identity - instead you create another existing mail account for the 'identity' email address, so you have two mail accounts for the two email addresses.
    You can move selected emails manually or perhaps using a filter to screen them from the original mail account into the newly created mail account.
    Then when you click on Reply, it will use the new mail account email address instead of the original email address.

  • Getting the 'from' address from a received email

    I am trying to pull the email address indicating who an email address is from, from email that I receive. Then I want to list the 'from' addresses in a separate data file.
    How can I code this is Java?

    public class ReadEmail {
         String from;
         String to;
         String subject;
         HashMap spam;
         public ReadEmail (String name) {
              String aline;
              int pos;
    PrintWriter spam_from;
    //PrintWriter ham_from;
              spam = new HashMap();
              try {
    spam_from = new PrintWriter(new FileWriter("spam_from.txt"));
    BufferedReader fin = new BufferedReader (new FileReader(name));
                   while ((aline = fin.readLine()) != null) {
                        if (aline.startsWith("From:")) {
                             pos = aline.indexOf ("From:");
                             from = aline.substring (pos + 6);
                             from = from.trim();
    int posat, st, fi;
    posat = from.indexOf("@");
    char ch;
    if(posat != -1) {
    // we have an email address
    st = posat - 1;
    while(st >= 0) {
    ch = from.charAt(st);
    if((ch >= '0' && ch <= '9') ||
    (ch >= 'a' && ch <= 'z') ||
    (ch >= 'A' && ch <= 'Z') ||
    ch == '.' || ch == '_') {
    st--;
    else break;
    } // end of while
    fi = posat + 1;
    while(fi < from.length()) {
    ch = from.charAt(st);
    if((ch >= '0' && ch <= '9') ||
    (ch >= 'a' && ch <= 'z') ||
    (ch >= 'A' && ch <= 'Z') ||
    ch == '.' || ch == '_') {
    st++;
    else break;
    } // end of while
    // pull out email address
    String email = from.substring(st, fi);
    System.out.println(email);
    // put it in file
    spam_from.println(email);
    }// end of if
                             System.out.println (from);
                        if (aline.startsWith("To:")) {
                             pos = aline.indexOf ("To:");
                             to = aline.substring (pos + 3);
                             to = to.trim();
                             System.out.println (to);
                        if (aline.startsWith("Subject:")) {
                             pos = aline.indexOf ("Subject:");
                             subject = aline.substring (pos + 8);
                             subject = subject.trim();
                             System.out.println (subject);
              fin.close();
    spam_from.close();
         catch (Exception ex) {
              System.out.println (ex.getMessage());
    This code alrady:
    Pull Headers out:
    -�From� ( I want to only accept incoming mail from those addresses present in the address book.)
    -�To� (incoming emails which have been sent to multiple users will be rejected.
    -�Subject�
    Pull Body out:
    -Break up string into pieces (a tokeniser does this)
    -Individual words are taken.
    -Each word is kept account of in a dictionary.
    -If Spam contains a key word, we know it is Spam
    -Else; ask dave about line 45 onwards!
    -A HashMap is something you can put words in. If the word is already there, increment it, if not, put it in.
    -Add up how many times a word is read. When in training mode, we can work out word frequency.
    Now I'm trying to pull all the 'from' addresses into a separate data file.
    Pls help!

  • Blank Emails with Attachments from Apple Mail if received into Gmail IMAP.

    Hi
    I have noticed that if I receive an email with an attachment from someone using Apple Mail to my Gmail IMAP account (in Apple Mail) the body of the text is blank. I get the attachment but the only way to read the body of the email is to show the Raw Source. Has anyone else had the same problem and does anyone have a solution?

    Not me and I use gmail's IMAP service with Apple Mail frequently. You're probably better off posting this question on google's gmail forum which you can get to via the help section on the gmail.com web site.

Maybe you are looking for