Questions tagged [rfc822]

RFC822 is the historical original standard for the format of email messages.

RFC5322 (which supersedes 2822, which in turn superseded the original 822) defines the basic format of email messages. Its companion document RFC5321 documents the SMTP transport protocol.

These days, you also need to know about and the various internationalization features which have been added to the email infrastructure over the years.

The protocol is used for mail transport between servers; for mailbox access from clients, perhaps you need to look at and/or .

Resources:

See for more details on the Internet Engineering Task Force RFC (Request For Comments) documents and process.

128 questions
1
vote
1 answer

How to do unfolding RFC 822

I am trying to write a vCard Parser and am having trouble unfolding lines. As you can see here: http://www.faqs.org/rfcs/rfc822.html look for "unfolding" it says that all the following are valid: Long string continue Long…
Thomaschaaf
  • 17,847
  • 32
  • 94
  • 128
1
vote
2 answers

JS convert string to rfc822

I am trying the gmail apis. I've done the auth. Now I want to create a draft. But I am getting this error { error: I20161220-15:53:43.486(4)? { errors: [Object], I20161220-15:53:43.487(4)? code: 400, I20161220-15:53:43.488(4)? …
Hayk Safaryan
  • 1,996
  • 3
  • 29
  • 51
1
vote
3 answers

RFC822 email - Formatter - Android/iOS - create MimeMessage without session or host

I have the following email: Subject = Hello! Body = Bla bla bla bla. Recipients = "carlos@mail.com", "mike@mail.com" Now I want to parse that fields following RFC822, but I can't find it. What I need? All fields(Subject,Body,Recipients) ->…
Ricardo
  • 7,921
  • 14
  • 64
  • 111
1
vote
1 answer

Angular: should this be an invalid email address?

I checked with online email validators and they claim it's incorrect format. But in angular and html5 "email" input field, it seems to be accepted: email.@domain.com Should our website allow a user with such an email address to create an account…
ngDeveloper
  • 1,304
  • 2
  • 16
  • 34
1
vote
3 answers

How to send an RFC822 file in c#

I'm trying to convert some Python code for use in a .Net website. The code retrieves a message stored in RFC822 format and sends the message to an SMTP server again using: mail from: blah blah rcpt to: blah blah data
John Rennie
  • 254
  • 2
  • 12
1
vote
1 answer

How can I parse raw email source and extract the HTML part?

In my iPhone app, I'm handed the raw source of an email, in RFC822 (or "eml") format. I'd like the HTML part of this message (if one exists). Rather than attempting to parse it out myself and converting escape chars and so on, I thought I'd check to…
Matt Brindley
  • 9,739
  • 7
  • 47
  • 51
1
vote
2 answers

How to convert a Word file content (with images and tables) into RFC 822 format using c#?

I want to read a Word file (contains images and table). After that i want to convert it's content into "RFC 822 format ". Looking for some APIS and sample code for above.
Preeti
  • 1,386
  • 8
  • 57
  • 112
1
vote
2 answers

How to stop HTTP (and rfc822, email) header injection?

(I am asking this question (and answering it), to make accessible some (hopefully useful) information, since I could not find this readily using search engines. However, feel free to answer it and add useful information :-).) How can HTTP headers be…
Abbafei
  • 3,088
  • 3
  • 27
  • 24
1
vote
2 answers

RSS feed warns about PHP's DATE_RFC822 year representation not being four digits long

I'm creating a RSS feed with PHP and I set the date using PHP's build in DATE_RFC822 format: ' . date(DATE_RFC822, strtotime($posts['date'])) . ' Which results in this: Tue, 01 Oct 13 10:10:00…
lampshade
  • 2,470
  • 3
  • 36
  • 74
1
vote
1 answer

Is it ok to make RFC822 messages that use LF and not CRLF?

The RFC822/RFC2822 standard says that "Header fields are lines composed of a field name, followed by a colon (':'), followed by a field body, and terminated by CRLF". But I see at least one RFC822 MIME parser that auto-normalizes payloads that use…
dan
  • 43,914
  • 47
  • 153
  • 254
1
vote
0 answers

Convert 1982 RFC822 to ISO 8601 Date Format using Yahoo Pipes

RSS feed http://www.tides.info/rss.xml?locid=13419 Pipe http://pipes.yahoo.com/pipes/pipe.info?_id=7639d7857574ee6f8677d59da4dded83 Trying to put daily tide information on a site. The date format that the RSS feed uses is not recognized by pipes. I…
1
vote
1 answer

Is the @ symbol required for an email address for it to be considered RFC compliant?

My javascript code I found lets through email addresses that dont have an @ symbol in the string, is that ok or is that bad?
Hard worker
  • 3,916
  • 5
  • 44
  • 73
1
vote
1 answer

Notes Formula Language "@ValidateInternetAddress" Failing to Validate Properly?

We are using the following validation code to check for a valid email address formatting on a web form driving by Lotus Notes: @If((@ValidateInternetAddress([Address821]; @ThisValue)!="" | @Contains(@ThisValue; "\"") | @Contains(@ThisValue; "'")…
0
votes
0 answers

When sending mail, how can I control what text to show in the inbox preview on iPhones/iPads etc.?

When I browse the inbox on iPhones and iPads, I see a short preview of the text below the subject line. Gmail also does the same thing (though I don't know if this works the same way). Is it some way I can influence what text that should be used for…
Nils
  • 780
  • 5
  • 16
0
votes
0 answers

How to get a value equivalent to the RFC22 size of an entire email message by using Microsoft Graph API?

I’d like to know how possible is to get a value equivalent to the RFC22 size of an email message by using Microsoft Graph API. The RFC822 size is defined as “RFC822.SIZE is the number of octets in the message when the message is expressed in…
1 2 3
8 9