KD2 Framework  Check-in [c8bcf12647]

Overview
Comment:Mail_Message: Accept to attach Mail_Message objects
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 7.3
Files: files | file ages | folders
SHA1: c8bcf12647832e6f6a143603c48052dbcba7c430
User & Date: bohwaz on 2021-11-22 19:54:29
Other Links: branch diff | manifest | tags
Context
2021-11-22
19:57
Security: implement signature verification check-in: 637e5af064 user: bohwaz tags: 7.3
19:54
Mail_Message: Accept to attach Mail_Message objects check-in: c8bcf12647 user: bohwaz tags: 7.3
2021-11-18
21:30
Brindille: Add default section function 'foreach' check-in: 189d8927d4 user: bohwaz tags: 7.3
Changes

Modified src/lib/KD2/Mail_Message.php from [5ed38eb8f2] to [16fd59915e].

447
448
449
450
451
452
453




454
455
456
457
458
459
460
		];

		return true;
	}

	public function attachMessage($content)
	{




		return $this->addPart('message/rfc822', $content);
	}

	public function getRaw()
	{
		return $this->raw;
	}







>
>
>
>







447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
		];

		return true;
	}

	public function attachMessage($content)
	{
		if (is_object($content) && $content instanceof self) {
			$content = $content->output();
		}

		return $this->addPart('message/rfc822', $content);
	}

	public function getRaw()
	{
		return $this->raw;
	}