Entourage Forward as Attachment script
Does anyone know if this exists, and if not, might some kind soul out there create one for us? As you may know Entourage is the only email program out there which wont properly forward html messages, and instead forces you to forward the html message as an attachment. But I can't find a script which will do this.
Thanks again.
and to clean up any archived copies
on run {input, parameters}
set listRecipients to {"[email protected]", "[email protected]", "[email protected]"}
tell application "Mail"
repeat with i from 1 to the count of input
set selectedMessage to item i of input
set findID to message id of selectedMessage
set archivesMailbox to mailbox "Archive"
set theName to name of archivesMailbox
set archivedMessages to messages in archivesMailbox
repeat with i from 1 to count of archivedMessages
set archivedMessage to item i of archivedMessages
if message id of archivedMessage is equal to findID then
set junk mail status of archivedMessage to true
move archivedMessage to mailbox "Trash"
exit repeat
end if
end repeat
set junk mail status of selectedMessage to true
set read status of selectedMessage to true
set theAccount to name of account of mailbox of selectedMessage as string
move selectedMessage to mailbox "Junk" of account theAccount
set selectedSubject to subject of the selectedMessage as string
set messageSource to the source of selectedMessage as string
set unixTimestamp to (do shell script "date +%s") as string
set sourceFile to "Macintosh HD:tmp:forwards:" & selectedSubject & ".eml"
set f to open for access sourceFile with write permission
set eof of f to 0
write messageSource to f
close access f
set newMessage to (make new outgoing message with properties {subject:"Fwd: " & selectedSubject})
tell newMessage
repeat with toRecipient in listRecipients
make new recipient at end of to recipients with properties {address:toRecipient}
end repeat
tell content to make new attachment with properties {file name:sourceFile as alias} at after the last paragraph
end tell
send newMessage
set removeSourceFileCmd to "rm " & quoted form of POSIX path of sourceFile
do shell script removeSourceFileCmd
end repeat
end tell
return input
end run
Similar Messages
-
Hi all. I am currently using Thunderbird 24.4.0 so I don't know if newer version may have this feature.
On the main screen, I select several emails and right-click. There we will get "Forward as attachment" on the list. If we choose that, those emails will be put in attachment of a new email.
My question is, is there any way we can indeed put those emails as attachment but leave out the attachment of each respective email selected?
For example, I have 3 email:
Subject: one. with attachment 1.txt
Subject: two. with attachment 2.txt
Subject: three. with attachment 3.txt
I select those three with Ctrl+Click on my main Thunderbird screen. Then I right-click and choose "Forward as attachment". I will be brought into new email screen with those three email as attachment already but have their respective attachment brought along. While what I need is to attach those three email without 1.txt, 2.txt, and 3.txt. It is because the recipient of my email does not need those attachment. How can I get this done?
PS: Deleting or detaching the attachment on each respective email beforehand is not preferable.
Thank you.No one have solution for this?
-
Entourage 2008 EWS Attachment limit on Exchange 2010
Hi Folks,
I'm having a problem allowing my Entourage users to attach files larger than 10MB. I've looked through all of the potential attachment limits on Transport config/Send connectors/Receive connectors/Users mailbox settings, but they all look okay to me.
[PS] C:\Windows\system32>get-mailbox user | fl max*
MaxSafeSenders :
MaxBlockedSenders :
MaxSendSize : 150 MB (157,286,400 bytes)
MaxReceiveSize : 150 MB (157,286,400 bytes)
[PS] C:\Windows\system32>get-sendconnector | fl max*
MaxMessageSize : 150 MB (157,286,400 bytes)
MaxMessageSize : 150 MB (157,286,400 bytes)
[PS] C:\Windows\system32>get-receiveconnector | fl max*
MaxInboundConnection : 5000
MaxInboundConnectionPerSource : unlimited
MaxInboundConnectionPercentagePerSource : 100
MaxHeaderSize : 64 KB (65,536 bytes)
MaxHopCount : 30
MaxLocalHopCount : 8
MaxLogonFailures : 3
MaxMessageSize : 150 MB (157,286,400 bytes)
MaxProtocolErrors : 5
MaxRecipientsPerMessage : 5000
MaxAcknowledgementDelay : 00:00:30
MaxInboundConnection : 5000
MaxInboundConnectionPerSource : 20
MaxInboundConnectionPercentagePerSource : 2
MaxHeaderSize : 64 KB (65,536 bytes)
MaxHopCount : 30
MaxLocalHopCount : 8
MaxLogonFailures : 3
MaxMessageSize : 150 MB (157,286,400 bytes)
MaxProtocolErrors : 5
MaxRecipientsPerMessage : 200
MaxAcknowledgementDelay : 00:00:30
[PS] C:\Windows\system32>get-transportconfig | fl max*
MaxDumpsterSizePerDatabase : 100 MB (104,857,600 bytes)
MaxDumpsterTime : 7.00:00:00
MaxReceiveSize : 150 MB (157,286,400 bytes)
MaxRecipientEnvelopeLimit : unlimited
MaxSendSize : 150 MB (157,286,400 bytes)
I'm running Exchange 2010 (with Rollup3 installed), on Server 2008R2.
My clients are running Entourage 2008 EWS, patched up with the latest Office Mac updates.
Apart from their inability to send 10+MB attachments, everything else is fine.
Regards,Shane
Toutges solution worked for us. Exchange Server 2010 (current patch level as of March 2015), Mac OS Outlook 2011 via EWS.
Key to the solution is this revision:
maxReceivedMessageSize value
to [example value]
51200000 underneath the heading <EWSMessageEncoderSoap11Element />. There are 6 places to make this change (bytes)
I have not seen this noted under the several MS Tech Net articles that pertain to the problem of sending large email attachments via Mac Outlook 2011 via EWS. -
Certain emails won't be 'forwarded as attachment'
My ISP asks for any spam, that their own systems have failed to pick up, to be forwarded as an attachment to them. There are quite a few spam messages that, when I try to forward, I get a message from Mail saying 'unable to send' and the option to pick another server from the list or try later.
This suggests that there is something in the spam message that causes this error condition to arise in Mail. Almost as if they have inserted a non-visible character that causes Mail to fall over.
The spam mail will forward OK but not 'forward as an attachment'. I have tried various combinations of the Attachment options (windows friendly etc) but no success.
Any suggestions?
Message was edited by: Roger Sinden+This is the header from a Forward of a non-spam message (for consistency it was sent to the same recipient and using the same server)+
Subject: Fwd: Apple Discussions: Topic "Certain emails won't be 'forwarded as attachment'" in forum "Mail and Address Book" has been updated by Ernie Stamper
From: [email protected]
Date: 14 December 2007 17:39:49 GMT
To: [email protected]
Message-Id: <[email protected]>
Content-Type: multipart/alternative; boundary=Apple-Mail-1-303457285
X-Smtp-Server: mailhost.zen.co.uk
Mime-Version: 1.0 (Apple Message framework v915)
References: <[email protected]1.managed.con tegix.com>
+This next one is the same message but Forwarded as an Attachment+
Subject: Fwd: Apple Discussions: Topic "Certain emails won't be 'forwarded as attachment'" in forum "Mail and Address Book" has been updated by Ernie Stamper
From: [email protected]
Date: 14 December 2007 17:40:09 GMT
To: [email protected]
Message-Id: <[email protected]>
Content-Type: multipart/mixed; boundary=Apple-Mail-2-303477337
X-Smtp-Server: mailhost.zen.co.uk
Mime-Version: 1.0 (Apple Message framework v915)
I don't know if this helps you at all. -
Forwarding as attachment or as source?
Is there some way to set up Mail so that when you forward a message, it is forwarded as an attachment by default?
The only time I ever forward messages is when I am reporting spam to Spamcop or Knujon, and I am TIRED of having to open each junk message individually, view source, highlight the message source, then forward (so that Mail will copy over the full source).
I would like to be able to select all the messages in my Junk folder, click on "Forward" or "Forward as Attachment" and be able to forward them without having to go through the whole routine for each individual message.
I know it's possible for a mail client to do it, because I used to do it in Thunderbird all the time. But I can not find any way to do it in Mail.Swetha.
look at Sending Email Attachments in Oracle Application Express 3.1 tutorial
this may help you.
Pars. -
HT2500 How to resend/forward an attachment received
How to resend/forward an attachment received on the mac iOS
If you forward a message that has the attachment, the attachment should also be on the forwarded email.
If you want to create a new message instead of using the forward command, open the email with the attachment in a separate Mail window. Create a new message. Drag the attachment from the original email's window to the new email's window. -
Problem using jsp:forward in java script
hi,
when I use jsp forward tag inside java script i'm getting a problem that
when the jsp is invoked it is getting forwarded to the page specified in the forward tag, without checking the if conditions. Following code may give you a better idea.
<html>
<script>
function test()
if(document.f.htemp.value=="true")
alert("jus");
else
var s=document.f.htemp.value;
alert(s);
<jsp:forward page="success.jsp" />
</script>
<body>
<form name="f" method=post>
<input type=text name=htemp value="true">
<input type=button onclick="test()">
</form>
</body>
</html>
please help me,thanks inadvance
regards
chanduWhat pgeuens means is that you can't mix javascript and jsp/java code in this way.
ALL of the jsp/java code gets executed at the server end.
This produces an HTML page (with embedded javascript) which gets sent to the client.
The client then runs javascript code in response to events (onLoad, onClick, onChange etc etc)
So in this case, the jsp:forward will always be executed, because as far as the server is concerned, the javascript is just template text.
If you WANT to do a conditional forwarding on the server side you do it in java ie (horribly using scriptlet)
<%
if (testCondition){
%>
<jsp:forward>
%<
%>Or if you want to test what the client has entered client side, all you can do is submit the form, or navigate to a URL
<script>
function test()
if(document.f.htemp.value=="true")
alert("jus");
else
var s=document.f.htemp.value;
alert(s);
document.f1.action="success.jsp";
document.f.submit();
</script>You cannot run JSP code based on your javascript code.
Java. Javascript. Not the same thing.
Hope this helps,
evnafets -
Forward/Backward Button Scripting
I'm trying to script a forward button and a backward button. I want it to go forward one frame when clicked, and the backward button to g backward one frame when clicked. Nothing I type is working. Can someone help me, please?
i'm sure what you want but try:
forward_btn.addEventListener(MouseEvent.CLICK,forwardF);
backward_btn.addEventListener(MouseEvent.CLICK,backwardF);
function forwardF(e:MouseEvent):void{
if(this.currentFrame<1945){ // ie, forward button stops advancing frames at frame 1945
this.nextFrame();
function backwardF(e:MouseEvent):void{
if(this.currentFrameLabel!="Map"){ // ie, previous button works for all frames except the one labeled "Map".
this.prevFrame(); -
Attaching Script & Driver Program to Transaction QM03 (Quality Management)
Hi Experts,
I have created a new script with a driver program. I need to attach it to tha transaction QM01, QM02, QM03. I have assingned it to the transaction & its working fine till the time of Print Privew. But When I give the Print command for that it is not going to the printer & giving me the following error:
1) The first error it gives : SHOP PAPER WILL NOT BE PRINTED.
2) & the second one is : Express document "Update was terminated" received from author "XXXXXX".
Please help as its a go-live issue.
Regards,
Raman.Hi Biju,
Please check that in ur driver program whether u have created the Entry routine in that u can call ur smartform.
Put breakpoint before u r calling ur smartform in driver program an chk whether data is populating correct in ur variables or internal table.
Then chk the variable and internal table which u r passing are correct and compare with import,export and table parameter of smartform.
See standard progarm 'RLB_INVOICE' for ur refference.
Reward if useful.
Edited by: Anil Mane on Apr 3, 2008 7:34 AM -
While forwarding email, email content is forwarding as attachment.
While forwarding email from Mac, receiver is getting body as attachment. I need a plain text like MS outlook.
Thanks for the suggestion!
Your suggestion works only while forwarding plain text only but receiving same problem while forwarding email with attachment. Receiver is receiving email like below (Second browser item is the body of the email) -
How to forward an attachment to another email
Without forwarding the email itself, we need to get an attachment, usually a PDF, from email #1 and send it as the same kind of attachment in a new email. Some methods seem to send the PDF as a jpg which is almost unreadable. What I've figured out takes many steps (I'll write it below) and I wonder if there is a faster way to do this? (Note that forwarding the original email will not let me delete the original sender or his text. We don't want this to show on new email)
What I CAN do that works:
1) save an attachment:
Cursor on it, click, download, yes, up, select here, wait to complete. (It will end up in files, media card, blackberry, documents folder)
then
2) create a new email
start an email, press bb menu, attach file, media card, blackberry, documents, cursor on file, “select” or press buttonJMB (and kwm1337),
The steps you outlined are the way to do it, and it really isn't all that difficult. You 'd have to do the same thing on the computer to send an attachment without the "forwarding" information being sent.... download/save attachment, start a fresh, new email, attach previously saved attachment and send. -
KEEPING the ACTOR but DELETING the attached SCRIPT on ENTERFRAME
Hi, new in this forum.
Lets put it that way...On frame 50, I've got on the score 25
buttons that are handled by 25 different(but similar) property
scripts. These buttons could be enabled(checked) or unchecked. Now,
when i'm going on frame 100, I compile in a linear list all the
sprites that have been clicked. Then, using those sprite numbers,
i'm trying to keep the actor(button) on the scene(score) on their
checkep state, but i want that the checked buttons would be now
impossible to click for the user. (like once you've clicked and
pass the frame 101, the state of the button won't change even if
you click on it.
Please find here an example of a script that is attached to a
button in the Attached Code.
Thank you for helping me...kind of a big headache for
me.Sorry, don't have time to read through all your code, but
what you want
to do sounds pretty simple. If I understand you correctly,
simply set a
global variable in frame 100 to tell the other sprites
they're no longer
active. Something like this for your frame script:
global gclickable
on exitFrame me
gclickable = false
end
Then in each button have it look for that same global
variable.
Something like this:
global gclickable
on mouseUp me
if gclickable = true then
do whatever you want here
end if
end
Then you'd just need to remember to set gclickable to true up
near frame
50 so that the buttons would actually do something when you
wanted them to.
Hope that helps. -
How to Attach Script to Photoshop Action or Folder?
I'm not familiar with Applescript at all! However, I downloaded a script for use with Photoshop which crops an image to a specific format. It works great if I've got an image open in Photoshop.
What I can't figure out how to do is to either apply that script to an entire folder to process all images in that folder, or better yet, record a Photoshop Action that uses that script.
How can I use that script to do a batch process from either Photoshop or the Finder?
Thanks for any help for this total newbie.The Mac I am currently using does not have 'Adobe Photoshop CS3' installed. However, based on [1], the code samples should work. Some editing may be needed, based on your specific requirements.
Sample code01:
-- Code starts here --
on run ()
my handle_Items(choose folder with multiple selections allowed)
end
on open (dItems)
my handle_Items(dItems)
end
on handle_Items(tItemss)
tell application "Adobe Photoshop CS3"
repeat with i in tItemss
set fList to list folder i without invisibles
repeat with j in fList
try
open file ((i as string) & j)
try
set docRef to current document
set (docWidth,docHeight) to (width of docRef,height of docRef)
set minDimension to docWidth
if docWidth > docHeight then set minDimension to docHeight
crop docRef bounds {(docWidth - minDimension) / 2, (docHeight - minDimension) / 2, (docWidth + minDimension) / 2, (docHeight + minDimension) / 2}
save current document
close current document saving no
end try
end try
end repeat
end repeat
end tell
end handle_Items
-- Code ends here --
Save the code as an application (AppleScript 'applet').
You and then either double click on the applet - and navigate to and select a desired folder (or folders), of which its / their contents will be processed; or, you can drag a folder (or folders) onto the applet, of which the folders contents will be processed.
Code sample02:
-- Code starts here --
on adding folder items to tFolder after receiving tItems
tell application "Adobe Photoshop CS3"
repeat with i in tItems
try
open file (i as string)
try
set docRef to current document
set (docWidth,docHeight) to (width of docRef,height of docRef)
set minDimension to docWidth
if docWidth > docHeight then set minDimension to docHeight
crop docRef bounds {(docWidth - minDimension) / 2, (docHeight - minDimension) / 2, (docWidth + minDimension) / 2, (docHeight + minDimension) / 2}
save current document
close current document saving no
end try
end try
end repeat
end tell
end adding folder items to
-- Code ends here --
See 'Folder Actions Reference' about AppleScript Folder Actions; and, 'Running an automation when a folder is changed' for attaching an AppleScript Folder Action.
[1] - Consult 'photoshopcs3_applescriptref.pdf' for Adobe Photoshop AppleScript classes and commands. -
I have a button displayed as Zoom In in the Basket panel:
HERE
When I attach this script to the button:
on (release, keyPress "<Space>") {
gotoAndPlay(2);
The mouse release works fine but when I try the keyboard for
keyPress, nothing happens. Anyone got any ideas as to what I am
doing wrong?hi,
i think handling keyboard-input works different ->
1. there is (as far as i know) no Event "keyPress" (they are
"onKeyDown" and "onKeyUp")
2.You´ll first have to create a Listener-Object which
has functions "onKeyDown" or "onKeyUp" or both:
var objListener = new Object();
objListener.onKeyDown = function(){
if(Key.isDown(Key.SPACE){
// do whatever
3. You have to register that Obj as Listener to the Keyboard:
Key.addListener(objListener);
that should do.
cheers,
tom -
Forward excel attachment to the user-defined mail id
Hello Everybody
i hv collect all data into the ITAB and want to transfer that data to excel format and send that excel file as an attachment to the user-defined mail id .
Input on selection-screen
SELECTION-SCREEN : BEGIN OF BLOCK B1 .
PARAMETERS : MAILID(255) TYPE C .
SELECTION-SCREEN : END OF BLOCK B1 .
plz suggest me
ASAPHi Sandeep,
EMAIL as EXCEL ATTACJEMENTS
Refer the following codes ..
Hope this will help you..
TYPE-POOLS: truxs.
DATA t5 LIKE t005t OCCURS 0 WITH HEADER LINE.
START-OF-SELECTION.
SELECT * INTO TABLE t5
FROM t005t
WHERE spras = sy-langu.
DATA wa_data TYPE truxs_t_text_data.
CALL FUNCTION 'SAP_CONVERT_TO_TXT_FORMAT'
EXPORTING
i_line_header = 'X'
TABLES
i_tab_sap_data = t5
CHANGING
i_tab_converted_data = wa_data
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
DATA stmp(4096) TYPE c.
DATA itmp TYPE i.
LOOP AT wa_data INTO stmp.
itmp = STRLEN( stmp ).
stmp+itmp = cl_abap_char_utilities=>cr_lf.
MODIFY wa_data FROM stmp.
ENDLOOP.
PERFORM send_email.
*& Form send_email
FORM send_email .
DATA docs LIKE docs OCCURS 0 WITH HEADER LINE.
DATA excelsize TYPE i.
DATA excel LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA doc LIKE sodocchgi1.
DATA excelln TYPE i.
DATA int_objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
DATA int_objhead LIKE solisti1 OCCURS 2 WITH HEADER LINE.
DATA int_objtext LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA int_reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
DATA bodyln LIKE sy-tabix.
DATA output_data TYPE ssfcrescl.
excel[] = wa_data[].
excel table sizes
DESCRIBE TABLE excel LINES excelln.
Body Email
int_objtext-line = 'Test Body'.
APPEND int_objtext.
DESCRIBE TABLE int_objtext LINES bodyln.
READ TABLE int_objtext INDEX bodyln.
CLEAR doc.
doc-doc_size = ( bodyln - 1 ) * 255 + STRLEN( int_objtext ).
doc-obj_name = ' '.
doc-sensitivty = 'P'.
doc-proc_syst = sy-sysid.
doc-proc_clint = sy-mandt.
CLEAR: int_objpack, int_objpack[].
int_objpack-transf_bin = ' '.
int_objpack-head_start = 1.
int_objpack-head_num = 0.
int_objpack-body_start = 1.
int_objpack-body_num = bodyln.
int_objpack-doc_type = 'RAW'.
int_objpack-obj_descr = 'Test'.
APPEND int_objpack.
CLEAR: int_objhead, int_objhead[].
int_objhead = 'Attachment'.
APPEND int_objhead.
int_objpack-transf_bin = 'X'.
int_objpack-head_start = 1.
int_objpack-head_num = 0.
int_objpack-body_start = 1.
int_objpack-body_num = excelln.
int_objpack-doc_size = excelsize.
int_objpack-doc_type = 'XLS'.
int_objpack-obj_name = 'excel'.
int_objpack-obj_descr = 'test.xls'. "File name
APPEND int_objpack.
Set Receiver
int_reclist-receiver = 'SAPUSER'.
int_reclist-rec_type = 'B'.
int_reclist-notif_del = 'X'.
int_reclist-notif_read = 'X'.
int_reclist-notif_ndel = 'X'.
int_reclist-express = 'X'.
APPEND int_reclist.
doc-obj_descr = 'Report in Excel'.
Sending Email
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = int_objpack
object_header = int_objhead
contents_bin = excel
contents_txt = int_objtext "Body
receivers = int_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
ENDFORM. " send_email
Note:
- If you are using FM SAP_CONVERT_TO_TXT_FORMAT you will not be able to execute this program in the background.
- dont forget to change 'SAPUSER' to your SAP user ID
- you can check the email by using tcode 'SBWP'.
Reward points if this Helps.
Manish
Maybe you are looking for
-
.Mac won't send email from iphone
This used to work, but lately when I try to email a picture (taken with the iphone camera), from my .mac account on the iphone, it won't send. Just tested it without a picture, IE sending jsut a text email and it won't do that either. Any suggestions
-
Dear All, Please tell me about ADAPTER in XI -Is it a tool/program? -We require to purchase it seperately? -how does it work? thanks, RP
-
Video imports but does not appear in Event Library
Have a problem with importing video from Sony HDR-SR10. The video plays in the camera and plays during import. The import process completes, but only 3 of 6 clips are shown in event library. Any suggestions??? Also - When attaching the video camera v
-
VOIP Phone Continously "Registering"
Please help. We use Callmanager 3.2 with a publisher and two subscribers. 90% of phones are 7940's with some 7960's too. More often these days, when people try to login (using extension mobility) the phone will prompt "REGISTERING" this message is co
-
How do I stop the hundreds of emails from, for example,Mail Delivery System <[email protected]>?