Is it possible to reply to multiple messages at once?
So I have about 4 accounts it checks, but as a rule, one of my business ones usually has about 20 any given time that could all be answered with the same reply. Is there a way I can select all these, and mail a mass reply from one account?
Alternatively, paste this script into a new Script Editor window and read the introductory comment.
AK
<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">(*Save the script in the Library/Scripts/Applications/Mail folder of your home directory. With several messages selected in Mail run
the script from the Scripts menu item on the menu bar. It will generate a new message with the sender of each of the selected
mails as a recipient, and the subject of the first selected mail as subject. Non-adjacent messages can be selected with Command-click.
AK Sep 2005 kinsella at itcarlow dot ie *)
using terms from application "Mail"
on perform mail action with messages TheMail
tell application "Mail"
set theSubject to ""
repeat with ThisMail in TheMail
set TheName to extract name from sender of ThisMail
set TheAddress to extract address from sender of ThisMail
if theSubject is "" then -- set subject, make message 1st time through
set theSubject to subject of ThisMail
if theSubject does not start with "Re:" then set theSubject to "Re: " & theSubject
set newMessage to make new outgoing message with properties {subject:theSubject}
end if
tell newMessage
make new to recipient at end of to recipients with properties {name:TheName, address:TheAddress}
end tell
end repeat
tell newMessage to set visible to true
end tell
end perform mail action with messages
end using terms from
using terms from application "Mail"
on run
tell application "Mail" to set sel to selection
tell me to perform mail action with messages (sel)
end run
end using terms from
</pre>
Similar Messages
-
Error SocketChannel receive multiple messages at once?
Hello,
I use Java NIO, non blocking for my client-server program.
Everything works ok, until there are many clients that sending messages at the same time to the server.
The server can identify all the clients, and begin reading, but the reading of those multiple clients are always the same message.
For example, client A send "Message A", client B send "Missing Message", client C send "Another Missing Message" at the same time to the server, the server read client A send "Message A", client B send "Message A", client C send "Message A", only happen if the server trying to read all those messages at once, if the server read one by one, it's working perfectly.
What's wrong with my code?
This is on the server, reading the message:
private Selector packetReader; // the selector to read client message
public void update(long elapsedTime) throws IOException {
if (packetReader.selectNow() > 0) {
// message received
Iterator packetIterator = packetReader.selectedKeys().iterator();
while (packetIterator.hasNext()) {
SelectionKey key = (SelectionKey) packetIterator.next();
packetIterator.remove();
// there is client sending message, looping until all clients message
// fully read
// construct packet
TCPClient client = (TCPClient) key.attachment();
try {
client.read(); // IN HERE ALL THE CLIENTS READ THE SAME MESSAGES
// if only one client send message, it's working, if there are multiple selector key, the message screwed
} catch (IOException ex) {
// ex.printStackTrace();
removeClient(client); // something not right, kick this client
}On the client, I think this is the culprit :
private ByteBuffer readBuffer; // the byte buffer
private SocketChannel client; // the client SocketChannel
protected synchronized void read() throws IOException {
readBuffer.clear(); // clear previous buffer
int bytesRead = client.read(readBuffer); // THIS ONE READ THE SAME MESSAGES, I think this is the culprit
if (bytesRead < 0) {
throw new IOException("Reached end of stream");
} else if (bytesRead == 0) {
return;
// write to storage (DataInputStream input field storage)
storage.write(readBuffer.array(), 0, bytesRead);
// in here the construction of the buffer to real message
}How could the next client read not from the beginning of the received message but to its actual message (client.read(readBuffer)), i'm thinking to use SocketChannel.read(ByteBuffer[] dsts, , int offset, int length) but don't know the offset, the length, and what's that for :(
Anyone networking gurus, please help...
Thank you very much.Hello ejp, thanks for the reply.
(1) You can't assume that each read delivers an entire message.Yep I know about this, like I'm saying everything is okay when all the clients send the message not in the same time, but when the server tries to read client message at the same time, for example there are 3 clients message arrive at the same time and the server tries to read it, the server construct all the message exactly like the first message arrived.
This is the actual construction of the message, read the length of the packet first, then construct the message into DataInputStream, and read the message from it:
// packet stream reader
private DataInputStream input;
private NewPipedOutputStream storage;
private boolean waitingForLength = true;
private int length;
protected synchronized void read() throws IOException {
readBuffer.clear(); // clear previous byte buffer
int bytesRead = client.read(readBuffer); // read how many bytes read
if (bytesRead < 0) {
throw new IOException("Reached end of stream");
} else if (bytesRead == 0) {
return;
// the bytes read is used to fill the byte buffer
storage.write(readBuffer.array(), 0, bytesRead);
// after read the packet
// this is the message construction
// write to byte buffer to input storage
// (this will write into DataInputStream)
storage.write(readBuffer.array(), 0, bytesRead);
// unpack the packet
while (input.available() > 0) {
// unpack the byte length first
if (waitingForLength) { // read the packet length first
if (input.available() > 2) {
length = input.readShort();
waitingForLength = false;
} else {
// the length has not fully read
break; // wait until the next read
// construct the packet if the length already known
} else {
if (input.available() >= length) {
// store the content to data
byte[] data = new byte[length];
input.readFully(data);
// add to received packet
addReceivedPacket(data);
waitingForLength = true; // wait for another packet
} else {
// the content has not fully read
break; // wait until next read
(2) You're sharing the same ByteBuffer between all your clients
so you're running some considerable risks if (1) doesn't happen.
I recommend you run a ByteBuffer per client and have a good look
at its API and the NIO examples.Yep, I already use one ByteBuffer per client, it's not shared among the clients, this is the class for each client:
private SocketChannel client; // socket channel per client
private ByteBuffer readBuffer; // byte buffer per client
private Selector packetReader; // the selector that is shared among all clients
private static final int BUFFER_SIZE = 10240; // default huge buffer size for reading
private void init() throws IOException {
storage; // the packet storage writer
input; // the actual packet input
readBuffer = ByteBuffer.allocate(BUFFER_SIZE); // the byte buffer is one per client
readBuffer.order(ByteOrder.BIG_ENDIAN);
client.configureBlocking(false);
client.socket().setTcpNoDelay(true);
// register packet reader
// one packetReader used by all clients
client.register(packetReader, SelectionKey.OP_READ, this);
}Cos the ByteBuffer is not shared, I think it's impossible that it mixed up with other clients, what I think is the SocketChannel client.read(ByteBuffer) that fill the byte buffer with the same packet?
So you're probably getting the data all mixed up - you'll probalby be seeing a new client message followed by whatever was there from the last time, or the time before.If the server not trying to read all the messages at the same time, it works fine, I think that if the client SocketChannel filled up with multiple client messages, the SocketChannel.read(...) only read the first client message.
Or am I doing something wrong, I could fasten the server read by removing the Thread.sleep(100); but I think that's not the good solution, since in NIO there should be time where the server need to read client multiple messages at once.
Any other thoughts?
Thanks again. -
Moving multiple messages at once...HELP PLEASE!
I can't move multiple messages at once in Mail. Why not? When's it going to get fixed?
I can. So it's just your installation. If I were you, the first thing I would try to do is, if you have multiple user accounts on that same computer, see if it is afflicting the other user accounts as well.
If so, I would try reapplying 10.6.3 COMBO update, after running disk utility verify hard disk (and repair if necessary) and running disk utility repair disk permissions.
If not, I would try rebuilding all the mailbox folders. May want to run the two disk utility routines anyways before rebuilding. -
In yahoo mail, can I delete multiple messages at once?
For example, I'd like to try to clean up my mailbox. On an MS OS, I can do a search on "sears", everything with that word is displayed. I can then delete them all at once, usually with just one click. Is there something similar on a MacBook Air? Thanks!
Hey,
To delete them locally:
*IMAP account [http://kb.mozillazine.org/Deleting_messages_in_IMAP_accounts]
*[http://en.kioskea.net/faq/2580-permanently-delete-your-mails-on-thunderbird]
To delete them on the server:
This will depend on your settings on the server. -
Deleting multiple messages NOT IN SEQUENCE.....
Does anyone know how to delete multiple messages at once that are not in sequence (for example, email #1, 3, and 5)?
Unfortunatly, it's not possble on the BB.
1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you! -
Embarqs' (now centurylink) mail website has an empty check-box beside each message to make it easier to sort and delete multiple messages at once, instead of moving or deleting them one at a time. Does thunderbird have the same, or a similar option, if so, how can I activate, or display it?
Thanks,
Tom S.You simply highlight the messages using the standard Windows selection keys. (I assume you're using Windows.)
To select contiguous messages, select the first one by clicking on it. Scroll to the last message you want to select and click on it while holding down the SHIFT key. All messages between the two will be selected.
To select non-contiguous messages. Click on each one while holding down the CONTROL (CTRL) key.
Once the messages are highlighted you can use most operations (such as delete or move) on the lot. -
Possible to select multiple messages in Mail?
I'm in the process of switching to Mail and am setting up rules. I want to apply a rule to multiple messages at one time, instead of applying the rule to each individual message, one by one. I cannot find a way to Select All or otherwise apply a rule to a bunch of messages (that are already in my InBox) all at once. Can anyone help? Thank you!
Camelot wrote:
to select all messages in the current mailbox you enter command+A. then use "apply rules" from the Message menu. you can also do it with just a few selected messages. select them, control-click on the selected messages and choose "apply rules".
Interesting interpretation of the OP's request.
I read the request as wanting to take one action that applied to many messages, rather than apply one rule many times.
For example, consider a rule that forwards the message to some other address. Selecting all messages and running the rule will generate multiple new messages - one per selected item.
that was my understanding of what the OP wanted. perhaps I'm wrong. let's wait for the OP to respond and clarify what he/she really wants.
Conversely, and how I interpreted the request, an AppleScript could collate all the selected messages and combine them into one new message - essentially running the 'forward' on many items at once.
I'll be interesting to see the OP's response to see which matches his requirements.
Message was edited by: V.K. -
Hi Experts,
I am working on IDOC to File Scenario
I have to send three messages using one idoc.
Could any one let me know whether is it possible to send with out using BPM or any suggest any other way.
Thanks in Advance.
Regards,
VijayHi
If u want to send the three message at the receiver side then u have to make the occurence for the target is 0..unbounded. and use the 1:n mapping in the message mapping.
To make the 1:N mapping in the message mapping go to the messages tab and put the occurence for the target message as 0..unbounded. when u do this it will creath the multiple message at the receiver side.
Remember u also have to make the same changes in the interface mapping also.
To give differnt names to all the file u can use the Addtime Stamp option in the file adfapter so it will create the file with the name as time stamp.
If u still face the problem please reply me back.
Thanks
Rinku -
Anyone know how to forward/share multiple messages??
I am trying to forward text messages to my email and I would like to forward the whole conversation? Is this possible rather than doing them individually??
Hi rosi77!
Thanks Ann154 for your reply. The ability to forward multiple messages instead of sending them one at a time is not something that you can do with the device. The messages would have to be sent one at a time. However, Ann154 has an excellent idea in searching the Android Market for an application that may be able to get this done for you. I'm not able to recommend a specific application, but I'm sure you will be able to find what you need in the Market. You can look for applications on your computer, as well as your phone, by visiting:
https://market.android.com/
I trust this information is helpful. Thanks and have a good day!
Christina B
VZW Support
Follow us on Twitter @VZWSupport -
Cannot select multiple messages in a sequence diagram
In sequence diagrams, deleting multiple messages is tedious because multiple messages cannot be selected by using a selection rectangle.
1) If the rectangle contains a single message, its object is also highlighted. So when multiple messages are selected, the corresponding objects are selected.
2) If the selection rectangle overlaps a single line of the combined fragments box, the entire box is selected.
I could same time if Studio used normal CTRL conventions. In other applications, holding down CTRL has two possible results.
1) If the item to be selected is not highlighted, then that item becomes highlighted and is added to the selection group. Studio does this.
2) If the item to be selected is already highlighted, then that item becomes non-highlighted and is removed from the selection group. Studio does not do this. So I cannot use a selection rectangle, then selectively use CTRL to remove unwanted items from the selection.
Can anyone suggest a way of selecting multiple messages?
As a side issue, does anyone know how to remove individual items from a selection?TreySpiva wrote:
Have you tried using the Shift key when selecting?It's the same problem. Selecting one or more messages also highlights the sending and receiving objects associated with the messages. Pressing DELETE at this point would also delete the objects. -
Multiple message through FIle Adapter using XI 2.0
I have scenario to create multiple message using File adapter .My file structure will be like
EMPID NAME SKILLS
001 A ABAP
001 A XI
002 B JAVA
Now I want to post first 2 records in one message and last record in other message.
Can we do it in XI 2.0.Any help appreciatedHi Suraj.
Thank you very mutch for your reply.
Excuse me...my mapping is done for message type and idoc.
My problem is that when the interface start, on the sxmb_moni I see an error like this:
Creating Java mapping com.sap.xi.tf._MM_XmlOrderToIdocMapping_ --- Using MappingResolver with context URL //srvsapdev/sapmnt/CX1/SYS/global/xi/mapping/gestione_magazzini/7fa9c9e15a7811dab710f3e3ac10826e/ --- Load of com/sap/xi/tf/_MM_XmlOrderToIdocMapping_.class from //srvsapdev/sapmnt/CX1/SYS/global/xi/mapping/gestione_magazzini/7fa9c9e15a7811dab710f3e3ac10826e failed. --- Class not found: com.sap.xi.tf._MM_XmlOrderToIdocMapping_ --- java.lang.ClassNotFoundException at RUMappingJava.load(): Could not load class: com.sap.xi.tf._MM_XmlOrderToIdocMapping_ Class not found: com.sap.xi.tf._MM_XmlOrderToIdocMapping_ --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND
..where 'gestione_magazzini' is my namespace and 'MM_XmlOrderToIdocMapping' is my message mapping.
Can you help me to undestand the problem?
Thanks,
Gianluca -
ESB/File Adapter - XML files containing multiple messages
Hi,
In all the examples on file adapters I read, if files contain multiple messages, it always concerns non-XML files, such as CSV files.
In our case, we have an XML file containing multiple messages, which we want to process separately (not in a batch). We selected "Files contain Multiple Messages" and set "Publish Messages in Batches of" to 1.
However, the OC4J log files show the following error:
ORABPEL-12505
Payload Record Element is not DOM source.
The Resource Adapter sent a Message to the Adapter Framework which could not be converted to a org.w3c.dom.Element.
Anyone knows whether it's possible to do this for XML files?
Regards, RonaldMaybe I need to give a little bit more background info.
Ideally, one would only read/pick-up small XML documents in which every XML document forms a single message. In that way they can be processed individually.
However, in our case an external party supplies multiple messages in a single batch-file, which is in XML format. I want to "work" on individual messages as soon as possible and not put a huge batch file through our ESB and BPEL processes. Unfortunately we can not influence the way the XML file is supplied, since we are not the only subscriber to it.
So yes, we can use XPath to extract all individual messages from the XML batch-file and start a ESB process instance for each individual message. But that would require the creation of another ESB or BPEL process which only task is to "chop up" the batch file and start the original ESB process for each message.
I was hoping that the batch option in the File adapter could also do this for XML content and not only for e.g. CSV content. That way it will not require an additional process and manual coding.
Can anyone confirm this is not supported in ESB?
Regards,
Ronald
Message was edited by:
Ronald van Luttikhuizen -
How to transmit multiple messages over CAN
Hi All,
How to transmit multiple messages over CAN ? With all three messages i want to send the system time & date also.
How can i get the timestamp in DBL format (Since the timestamp in the input of ncWriteNetMult.vi is a DBL). If possible kindly share the code in Labview 7.1 also.
Thanks in advance.
JThe NI-CAN driver brings examples for nearly every use case. Driver version 2.4 or later has the Write multiple function to write multiple frames at ones.
There is an example available for LabVIEW, CVI and VC/VBasic called CAN Transmit multiple.
Also check the attached VI and the Can manual: http://www.ni.com/pdf/manuals/370289m.pdf
What do you mean by converting Timestamp to DBL? Timestamp contains all date and time information. You can convert it into string format as shown below and then use the relevant data from it by string operations.
Hope this solves your problem.
Shreyas Hebbare
Shreyas Technologies
India
Attachments:
Transmit Multipe Objects at Different Rates_LV80.vi 36 KB -
How to include Reply-To addresses when reply to multiple emails
When reply to multiple email messages in Mail, I follow the instructions by Aral Balkan(http://aralbalkan.com/1136),
But the problem is, it only reply the "From" field address for multiple emails. The "To", "CC" and "Reply-To" field addresses are not included. How can I manage to reply to all Reply-To addresses for multiple email messages in Mail?Did you ever get a reply to this question or did you manage to solve the issue in any way or shape? I am experiencing the same so eager to hear a solution.
Thanks! -
Multiple message deletion functionality disappears
My iPhones 5S with iOS 8.1 loses multiple message deletion functionality. I tap a message in communication thread, chose more options, mark messages to be deleted and push waste bin. When used a few times the waste bin is replaced with camera options and deleting multiple messages is not possible; see screenshot. In order to re-establish the functionality, I have to close the message app down and restart it. Are there any solutions or work around to this?
Hi Kare Gronholt,
If you are having issues with your iPhone's ability to delete multiple messages, you may want to try some things to troubleshoot.
First, quit all running applications and test again -
OS: Force an app to close
Next, I would try restarting the iPhone -
Turn your iOS device off and on (restart) and reset
If the issue is still present, you may want to restore the iPhone as a new device -
How to erase your iOS device and then set it up as a new device or restore it from backups - Apple Support
Thanks for using Apple Support Communities.
Best,
Brett L
Maybe you are looking for
-
When I try to log on to icloud it says "Apple ID is valid but not an icloud account? Changed my Apple password a few times reset my system still no luck Please help!t
-
How to make use of label printing in sap smartforms
Hi Dear, How to make use of label printing in sap smartforms.. I need to print four records from internal table into sap smart forms. It will come as four labels.All page should follow the same procedure... How to do...please help me.. Regards, Nikhi
-
I can't believe I'm asking this but since the 8600MT supports the higher resolution option, is that only possible through applications? I dont even see it as an option under the display tab. Also does anyone know of a gpu clock frequency display prog
-
When I imported the only 4 files in a particular folder (scans of photos) into the Organiser, the message "File size is too large" came up for two of them instead of preview images, although do appear to have been added to the Catalog as their MB siz
-
Fixed Layout EPUB, Buttons dont work with Adobe Digital Editions
Hello Community, I am working with InDesign CC 2014.1 and Adobe Digital Editions 4 (ADE). I am developing a FXL epub. When viewing the exported epub with ADE the buttons don't work. I also tried to view other epubs as the one mentioned in this thread