Questions tagged [rfc2822]

Standard syntax for text messages sent between computer users, within the framework of "electronic mail" messages.

This RFC replaces RFC822 and has been deprecated in favor of RFC5322.

It should be noted that this standard only specifies a syntax for text messages and does not cover the exchange of multimedia in emails (this being covered by MIME documents [RFC2045, RFC2046, RFC2049]).

It should also be noted that, while emails consist of both an envelop and the content, this RFC does not cover the envelop (see [RFC2821] for discussion on the envelop).

References: http://tools.ietf.org/html/rfc2822

63 questions
0
votes
1 answer

Is there a possible `idstring` that would the `make_msgid` not compliant with RFC 2822?

The source code mentions that make_msgid generates an RFC 2822 compliant Message-ID and also has the option to add an idstring to strengthen uniqueness. Is there any value of idstring one could add that would make the resultant id generated by…
piedpiper
  • 328
  • 2
  • 13
0
votes
0 answers

PHP mailer script won't work on IONOS Server

PHP-beginner here trying to solve a problem for literally days now: I'm trying to send html-mails with the PHP mail() function via the IONOS Mailserver. Html is important because I want to set the encoding for the e-mails in the header (special…
Der Keim
  • 41
  • 8
0
votes
1 answer

Issue with "from" field using gmail API in Node JS

I have a problem setting the author of a mail in the "from" field of the RFC2822 mail (here the detail). The problem is that the author does not appear in the received mail. The "from" field I've set looks like this: MyName:…
Zack
  • 117
  • 1
  • 11
0
votes
1 answer

Laravel - Swift_RfcComplianceException only on staging server .env file problem

I have a problem on my staging environment while the problem does not occur in my local env. ->from(env('MAIL_FROM_ADDRESS'), "$user->firstname $user->lastname") it gives me following error; (1/1) Swift_RfcComplianceException Address in…
eleven0
  • 263
  • 6
  • 13
0
votes
2 answers

Same Message ID with with different email

as I read on the official rfc2822 The "Message-ID:" field provides a unique message identifier that refers to a particular version of a particular message. The uniqueness of the message identifier is guaranteed by the host that …
Angelo Badellino
  • 2,141
  • 2
  • 24
  • 45
0
votes
1 answer

How to get message body (or bodies) from Message object returned by email.parser.Parser?

I'm reading the Python 3 docs here and I must be blind or something... Where does it say how to get the body of a message? What I want to do is to open a message and perform some loop in text-based bodies of the message, skipping binary attachments.…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
0
votes
1 answer

Getting email Bounce when using gmail nodejs api

This the code i am using to send email. function sendMessage(auth) { var gmail =google.gmail('v1'); var email_lines =[]; email_lines.push("From:a@gmail.com"); email_lines.push("To:b@gmail.com"); …
Deepak
  • 37
  • 2
  • 11
0
votes
1 answer

How to have forward messages appear in the same thread with Gmail API

I am trying to have forward appear in the same thread when sending message with gmail API (which gmail/inbox is doing perfectly fine from the UI). This is working fine when I reply (I am adding the threadId, the 'Re: ' and using the RFC 2822…
Barrec
  • 63
  • 6
0
votes
1 answer

How to add a message as an attachment on another message with javax.mail

I've got a mailer daemon that check a box and fetch the mails inside every X mins. When an error occurs, I need to send a alert mail, with the faulty message as an attachment. I dont want to create a file, write the content from the original message…
Pierre Gayvallet
  • 2,933
  • 2
  • 23
  • 37
0
votes
1 answer

Generate short but globally unique Message-Id

I have build a module that generates a very unique Message-Id, but I've been asked to shorten it, so I wonder how short I can make it, so it is still RFC 2822 valid and will not get caught in spam filters. I see Python generates one that is about 41…
webjay
  • 5,358
  • 9
  • 45
  • 62
0
votes
2 answers

RFC2822 non compliance, something about Date or From in PHP header?

I'm trying to have a form submit to an email and it's ultimately ending up at a gmail address. However, I'm getting return errors…
Jordan
  • 21
  • 2
  • 8
0
votes
1 answer

Email formatting from mail clients

I have been doing some research/tests on the standardized email format. Ultimately I am looking to develop an email parser for an application. I am noticing some differences in the format of the email, mainly between email clients (gmail, mac mail,…
Chris
  • 4,762
  • 3
  • 44
  • 79
0
votes
1 answer

The provided value is not a valid RFC-2822 date

I have been testing BigCommerce API calls, Firstly i tried orders.json call, and i did got proper reply. But when i added date range parameters ie min_date_created and max_date_created, it gave me error. I am testing it using PHP cURL, Following…
Chirag B
  • 2,106
  • 2
  • 20
  • 35
0
votes
1 answer

How to use RFC2822 format date in a URL?

How do I pass date in RFC2822 format, to an URL in GET method: e.g I want to pass 18th jan 2013 as min_date_created in the URL https://www.xyz.com/orders 18th jan 2013 in RFC format is ==> Fri, 18 Jan 2013 17:58:49 +0000 how can I pass it to…
Anushree Acharjee
  • 854
  • 5
  • 15
  • 30
0
votes
3 answers

MYSQL Date Range RFC 2822

THE SITUATION I pull timestamps formatted in RFC 2822 (Sat, 01 Dec 2012 05:49:45 +0000) and store them in a VARCHAR field in MYSQL. I have a start_date and end_date. THE GOAL Search BETWEEN two dates (like start_date BETWEEN '2012-11-01' AND…
Rick Scolaro
  • 485
  • 1
  • 10
  • 28