How can I get the actual raw text of an email in Gmail? By default, Gmail translates the emoji/Goomoji codes into pictographs. I want to see the text codes or unicode -- whatever it is when it is transmitted/reviewed by SMTP.
Is that possible, or can I feed the message file (downloaded as an EML) through a CLI tool or something to decode it?
My goal is to figure out a way to filter on Goomoji/Emojis -- I found an old JS called SpamZero but it doesn't seem to work. I'm hoping I can fix it.
Related
All..
I am asking this question, and yes it might look like a newbie posting a question without search first, but I have a caveat that I need to be considered before marking this as a repeat or duplicate of similar posted questions!
I have "googled" and searched on stackoverflow, and tried just about every combination of parameters and methods to get an email sent by either mail, mailx, or sendmail (don't care, will even consider other methods), and have the client recognize the email as HTML and properly display the message along with an attachment.
My request is to find a way to send an HTML email AND attach a file at the same time, with a single command.
I am using mail and mailx "12.4 7/29/08", and I can not figure out what version of sendmail. I am using "Linux 2.6.32-504.8.1.el6.x86_64" (RHEL 6.6 Santiago) build of RHEL.
Looking for any of the following?
How does one find a program that will allow me to send an email with HTML, attach a file and have it be detected my the email client as HTML with an attachment?
Format a message and its "body" content, and manually encode a file to be attached so that can be sent and have it be detected my the email client as HTML with an attachment?
Combination of both of the above?
I am stumped. Many of the posts I found have told me there is a large variety of mail and mailx versions and distributions that have different patterns. I am not porting this from machine to machine, and not looking for portable bash script code. However, I like writing clean code that is fairly portable and standard, but that would be like having my pie and eating it too! :-)
Mailx html content is in this theme Mailx send html message
Attachment her http://www.unix.com/solaris/183753-mailx-attachment.html
I understood this correctly?
There are many libraries out there which purport to transform HTML to PDF. All that I've looked at have there limitations. We don't want to spend any money on this so wanted to know if it is possible to print to file in PDF format without all the pop ups that Outlook would normally produce. We are using Outlook 2013 with Exchange.
This thread suggests that the answer it NO. But this thread suggests that it might be done. I'm looking for a clear path to achieve my goal.
To complicate things, I am using the Mail.Display function to allow the user to modify the email before sending. They can add attachments if they want also. Once they select the Send option, I want to capture the email that was sent and produce a PDF which will be stored in a data store for easy retrieval by anyone who accesses the customer account. Here is where I run into difficulty. The Mail object is not available after returning from the Display function. How can I get the sent email and process it?
Yes, it is possible.
Outlook uses Word as an email editor. So, you can use the Word object model to get the job done. The WordEditor property of the Inspector class returns an instance of the Document class from the Word object model which represents the message body. See Chapter 17: Working with Item Bodies for more information.
The ExportAsFixedFormat method of the Document class saves the document in PDF or XPS format.
I'm trying to add some functionality to an internal Access database that will automatically create tasks on Asana.
My VBA experience is somewhat limited but by examining various code samples online and tinkering I've been able to POST tasks with all the necessary data and GET info back.
But I'm now struggling with being able to upload file attachments to a task. I'm not sure how to go about it.
Leaving the content type as application/x-www-form-urlencoded which works for the normal POST statements when creating tasks and just pointing the send command to a file location using doesn't work and results in an error of "file is not an object", I'm guessing this is because all that's contained in the send command is a file=path pair.
Do I need to encode the file at all, if so how?
I'm hoping someone can point me in the right direction.
Thanks.
You can check out how curl does it, but I believe it needs to be multipart/form-data - I would strongly recommend using a library rather than doing the encoding manually, since there are often subtle gotchas.
Basically, it works a lot like a standard form upload from a web browser.
Hope that helps!
I am trying to send a 7Zip attachment using SMTP (java mail), even after setting proper multi-part and content type as "application/x-7z-compressed", I see it is not shown as attachment, as below, any suggestions what I could be missing ?
Either something messed up the formatting of your post, or you pasted in an image. Either way, it's hard to see exactly what's going on with your message.
Try using the msgshow.java demo program included with JavaMail. It can show you the structure of a message. If it's not showing you what you expect, give us more details. In particular, what do you mean by "is not shown as an attachment"? What's doing the "showing"? Your mail reader?
I am trying to create the means for my mom to be notified when the Diet Rite drink, that she buys at Stater Bros, goes on sale. My thinking is that I could create a Yahoo Pipe that takes in the weekly ad feed and filters for string Diet Rite. The Yahoo Pipe is itself an RSS feed and, thus, I would deliver the Pipe to the Google Reader and thus my mom would know if Stater Bros is having a sale.
Seeing how the Stater Bros has a searchable PDF of their weekly ad, I thought it would be a simple matter of having Yahoo Pipes search through it. However, Yahoo Pipes does not support PDF.
I then decided to pipe the PDF through an online PDF to HTML converter and feed that to Fetch Page module in Yahoo Pipes. And in fact, the converter was quite successful, in that the resulting HTML preserved the text and I could search it and find what I needed. However, it turns out that it spits its data out in frames - thus I can't use it. I can't find any other online PDF to HTML converters.
Even if I was able to get the HTML of the PDF into Yahoo Pipes, I am not sure that would do any good, since Yahoo Pipes doesn't provide the means to search/filter HTML. It mostly works on feeds.
So I am stuck. Any ideas on how to achieve what I am trying to do?
If you are not using it allready then you may want to look at Googles caching system ..
http://webcache.googleusercontent.com/search?q=cache:http://www.staterbros.com/Images/PDFs/weekly.aspx
It's not widely known outside SEO circles but the Googlebot does actually perform a crude PDF to HTML & text conversion. If you cannot wait for Google to convert the PDF file there are also a couple of free PHP scripts that can perform the same function.
Because there is no equivelent of 'Preg_match' for pipes you have to work backwards,
by removing what is NOT what you are looking for.
The regex for the replace module looks something like this ... ^(.+?)Diet Rite(.+?)$
Replace everything from the start of the string up to 'Diet Rite' with nothing
Then replace everything after 'Diet Rite' to the end of the string with nothing..
Therefore if 'Diet Rite' exists on the page it will show up in the pipe and can be added to an RSS feed otherwise the pipe returns a blank.