Questions tagged [email-processing]

26 questions
8
votes
2 answers

Why isn't Gmail using quoted-printable encoding?

Why the web-version of Gmail line-wrap its mail content without marking the breaking place with a =, which make email processing very difficult: See the original mail content sent by gmail: and this mail sent by Mac OS X Mail: Edited: As Brandon…
Xiaofan Hu
  • 1,482
  • 1
  • 16
  • 22
7
votes
4 answers

How can I parse email text for components like etc?

I'm writing an application that analyzes emails and it would save me a bunch of time if I could use a python library that would parse email text down into named components like etc. For example, the…
Trindaz
  • 17,029
  • 21
  • 82
  • 111
4
votes
6 answers

Is it possible to programmatically 'clean' emails?

Does anyone have any suggestions as to how I can clean the body of incoming emails? I want to strip out disclaimers, images and maybe any previous email text that may be also be present so that I am left with just the body text content. My guess is…
flesh
  • 23,725
  • 24
  • 80
  • 97
3
votes
2 answers

Want to automatically process email attachments based on username and subject

I'm seeking advice about setting up an email gateway so students can email me homework and the email will be processed automatically. For example, if a studenta@univ.edu emails me with a subject of "CS208 hw1", I would cross check studenta in a list…
Rich
  • 12,068
  • 9
  • 62
  • 94
2
votes
2 answers

Processing checkboxes with PHP

My boss set up a script to process forms through PHP and email the results. We are required to use this processor. The problem with the processor is this line of code: foreach ($_POST as $k => $v){$$k = strip_tags($v);} This would be fine if all…
Randy
  • 21
  • 1
2
votes
0 answers

How to get various type of content of mail as it is in Java?

I am working on application where I need to get content of mail body as it is in Java. When text is plain, I have no issue to get is as a string. But when mail content contains bold letters like: Subject: Fwd: Fwd: Re: Opportunity to work on…
Raajeev
  • 21
  • 3
1
vote
1 answer

Graph API - Authentication Token and Task Cancellation Error

We have an application "App1" in Azure will all the required permissions and have 7 instances of a Windows service in C# that uses the same Azure Application "App1" to connect to Outlook Mailboxes. The code is same across all the 7 windows service…
1
vote
1 answer

Change new mail subject line to name of the attached file

So far I have been able to attach the file programmatically with this: Private Sub AttachmentFile() Dim oLook As Object Dim oMail As Object Dim FD As Object Dim vrtSelectedItem As Variant Set oLook = CreateObject("Outlook.Application") Set oMail =…
HalfWit
  • 31
  • 6
1
vote
2 answers

hMailServer - server scripts - trigger external DLL function?

maybe it is a dummy question and there exists better approaches, but I wonder if there is any possibility of catching an event on incoming email using server side script and inside that script would be external DLL call or script which connect to…
1
vote
1 answer

PHP IMAP parsing body text

I working with php imap and I'm having trouble. I need to fetch the body text and the body html but it doesn't look like it have to be , my code is: $this->email['bodyHTML'] = quoted_printable_decode(imap_fetchbody($imap, $i, 2.2,FT_PEEK )); …
Tedi Çela
  • 544
  • 1
  • 8
  • 20
1
vote
2 answers

how to parse an email message and process various information

Is there any library to parse email messages? I know there are a lot. In addition to basic MIME parsing it should be able to parse things like: If the mail is a forwarded message: parse and tell me the original sender of the message. Get the the…
Sabya
  • 11,534
  • 17
  • 67
  • 94
0
votes
3 answers

How to Change the MTA return error if something happend when delivery email failed using pipe to php script method

I using WHM/Cpanel Im using the pipe technique to forward the income emails to php script and everthing fine. but while working if any error happend while piping the following msg for example will returned to the email sender This message was…
Mohammed Shannaq
  • 806
  • 3
  • 8
  • 21
0
votes
0 answers

How can I create amazon ses emails via api or any method?

I am using amazon ses service now i want every user that will register my website to have ses mail .My website running on php How can i do that any descriptive documentation will be really appreciated
0
votes
1 answer

Open links sent in email using AppleScript

I am trying to automate the process of opening specific links that are sent by email. The email has multiple links in it including one to unsubscribe from the service, so opening the correct link and not all links is important. The process flow…
0
votes
1 answer

Add custom text to email body automatically when user clicks Reply button

I am parsing incoming emails to my domain using Mailslurp API and I want to get only the email body without the email signature. I struggled a lot finding out how to recognize signature from the email body but I could not find a satisfying solution…
girish
  • 302
  • 1
  • 5
  • 17
1
2