1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053
|
FLIM (Faithful Library about Internet Message) API
Version 1.14
Draft Release 3
* Notation
Each function is described by following notation:
[Function] NAME-OF-FUNCTION (SIGNATURE)
DESCRIPTIONS
[ILEVEL]<ULEVEL>
Each inline function is described by following notation:
[Inline function] NAME-OF-FUNCTION (SIGNATURE)
DESCRIPTIONS
[ILEVEL]<ULEVEL>
Each macro is described by following notation:
[Macro] NAME-OF-MACRO (SIGNATURE)
DESCRIPTIONS
[ILEVEL]<ULEVEL>
Each variable is described by following notation:
[Variable] NAME-OF-VARIABLE
DESCRIPTIONS
[ILEVEL]<ULEVEL>
ILEVEL specifies implementation level:
Required: Must implement
Suggest: Should implement
Optional: Optional
ULEVEL specifies implementation level:
Suggest: Should use
Not Suggest: Should not use
Obsolete: Should not use (historical)
* MIME entity
** How to use
(require 'mime)
** MIME-Entity Creation
[Function] mime-open-entity (type location)
Open an entity and return it.
TYPE is representation-type.
LOCATION is location of entity. Specification of it is depended on
representation-type.
[Required]<Suggest>
(Usage: SEMI 1.14 MIME-View)
[Function] mime-parse-buffer (&optional buffer representation-type)
Parse BUFFER as a MIME message.
If buffer is omitted, it parses current-buffer.
[Optional]<Not Suggest>
** MIME-Entity Hierarchy
[Function] mime-entity-children (entity)
Return list of entities included in the ENTITY.
[Required]<Suggest>
(Usage: SEMI 1.14 MIME-View, MIME-PGP)
[Function] mime-entity-parent (entity &optional message)
Return mother entity of ENTITY.
If MESSAGE is specified, it is regarded as root entity.
[Suggest]
(Usage: SEMI 1.14 MIME-View, MIME-PGP)
[Function] mime-find-root-entity (entity)
Return root entity of ENTITY.
[Suggest]
[Function] mime-root-entity-p (entity &optional message)
Return t if ENTITY is root-entity (message).
If MESSAGE is specified, it is regarded as root entity.
[Suggest]<Suggest>
[Function] mime-entity-node-id (entity)
Return node-id of ENTITY.
[Suggest]
(Usage: SEMI 1.14 MIME-View, MIME-PGP)
[Function] mime-entity-number (entity)
Return entity-number of ENTITY.
[Optional]
(Usage: SEMI 1.14 MIME-View, MIME-PGP)
** MIME-Entity Search
[Function] mime-find-entity-from-node-id (entity-node-id message)
Return entity from ENTITY-NODE-ID in MESSAGE.
[Suggest]
[Function] mime-find-entity-from-number (entity-number message)
Return entity from ENTITY-NUMBER in MESSAGE.
[Optional]
[Function] mime-find-entity-from-content-id (cid message)
Return entity from CID in MESSAGE.
[Suggest]<Suggest>
** MIME-Entity Attributes
[Function] mime-entity-content-type (entity)
Return content-type of ENTITY.
(cf. <** Content-Type>)
[Suggest]
(Usage: SEMI 1.14 MIME-View)
[Inline function] mime-entity-media-type (entity)
Return primary media-type of ENTITY.
[Suggest]<Not Suggest>
(Usage: SEMI 1.14 MIME-View)
[Inline function] mime-entity-media-subtype (entity)
Return media-subtype of ENTITY.
[Suggest]<Not Suggest>
(Usage: SEMI 1.14 MIME-View)
[Inline function] mime-entity-type/subtype (entity)
Return media-type/subtype of ENTITY.
[Suggest]
(Usage: SEMI 1.14 MIME-W3)
[Inline function] mime-entity-parameters (entity)
Return parameters of Content-Type of ENTITY.
[Suggest]<Not Suggest>
(Usage: SEMI 1.14 MIME-View)
[Function] mime-entity-set-content-type (entity content-type)
Set ENTITY's content-type to CONTENT-TYPE.
(cf. <** Content-Type>)
[Suggest]
(Usage: SEMI 1.14 MIME-View)
[Function] mime-entity-content-disposition (entity)
Return content-disposition of ENTITY.
(cf. <** Content-Disposition>)
[Suggest]
(Usage: SEMI 1.14 MIME-View)
[Function] mime-entity-filename (entity)
Return filename of ENTITY.
[Suggest]
(Usage: SEMI 1.14 MIME-View)
[Function] mime-entity-encoding (entity)
Return content-transfer-encoding of ENTITY.
If the ENTITY does not have valid Content-Transfer-Encoding field,
return nil.
[Suggest]
(Usage: SEMI 1.14 MIME-View)
[Function] mime-entity-set-encoding (entity encoding)
Set ENTITY's content-transfer-encoding to ENCODING.
[Suggest]
(Usage: SEMI 1.14 MIME-View)
[Function] mime-entity-cooked-p (entity)
Return non-nil if contents of ENTITY has been already
code-converted.
[Suggest]
(Usage: SEMI 1.14 MIME-PGP)
[Function] mime-entity-name (entity)
Return unique name of the ENTITY.
[Suggest]
(Usage: SEMI 1.14 MIME-View)
** MIME-Entity Header
[Function] mime-entity-fetch-field (entity field-name)
Return the value of the ENTITY's header field whose type is
FIELD-NAME.
The results is network representation.
If FIELD-NAME field is not found, this function returns nil.
[Required]<Suggest>
(Usage: SEMI 1.14 MIME-View, MIME-BBDB)
[Function] mime-entity-read-field (entity field-name)
Parse FIELD-NAME field in header of ENTITY, and return the result.
Format of result is depended on kind of field. For non-structured
field, this function returns string. For structured field, it
returns list corresponding with structure of the field.
Strings in the result will be converted to internal representation
of Emacs.
If FIELD-NAME field is not found, this function returns nil.
[Suggest]
(Usage: SEMI 1.14 MIME-View, MIME-BBDB)
** Text Presentation of MIME-Entity Content
[Function] mime-insert-header (entity &optional invisible-fields
visible-fields)
Insert before point a decoded header of ENTITY.
INVISIBLE-FIELDS is list of regexps to match field-name to hide.
VISIBLE-FIELDS is list of regexps to match field-name to hide.
If a field-name is matched with some elements of INVISIBLE-FIELDS
and matched with none of VISIBLE-FIELDS, this function don't insert
the field.
Each encoded-word in the header is decoded. ``Raw non us-ascii
characters'' are also decoded as `default-mime-charset'.
[Suggest]
[Function] mime-insert-text-content (entity)
Insert before point a contents of ENTITY as text entity.
Contents of the ENTITY are decoded as MIME charset. If the ENTITY
does not have charset parameter of Content-Type field,
`default-mime-charset' is used as default value.
[Required]
[Variable] default-mime-charset
Symbol to indicate default value of MIME charset.
It is used when MIME charset is not specified.
It is originally variable of APEL.
[Required]
** Bytes Representation of MIME-Entity Content
[Function] mime-entity-content (entity)
Return content of ENTITY as byte sequence (string).
[Required]
(Usage: SEMI 1.14 MIME-View, Postpet)
[Function] mime-insert-entity-content (entity)
Insert content of ENTITY (byte sequence) at point.
[Suggest]
[Function] mime-write-entity-content (entity filename)
Write content of ENTITY (byte sequence) into FILENAME.
[Required]
** Network Representation of MIME-Entity
[Function] mime-entity-string (entity)
Return header and body of ENTITY (string).
[Optional]<Not Suggest>
[Function] mime-insert-entity (entity)
Insert header and body of ENTITY at point.
[Required]
[Function] mime-write-entity (entity filename)
Write header and body of ENTITY into FILENAME.
[Required]
[Function] mime-entity-header (entity)
Return network representation of ENTITY header (string).
[Optional]<Not Suggest>
[Function] mime-insert-entity-header (entity)
Insert network representation of ENTITY header at point.
[Optional]<Not Suggest>
[Function] mime-write-entity-header (entity filename)
Write network representation of ENTITY header FILENAME.
[Optional]<Not Suggest>
[Function] mime-entity-body (entity)
Return network representation of ENTITY body (string).
[Optional]<Not Suggest>
[Function] mime-insert-entity-body (entity)
Insert network representation of ENTITY body at point.
[Required]
[Function] mime-write-entity-body (entity filename)
Write body of ENTITY into FILENAME.
[Required]
* MIME content information
** How to use
(require 'mime)
** Content-Type
[Function] mime-parse-Content-Type (string)
Parse STRING as field-body of Content-Type field, and
return the result as `mime-content-type' structure.
[Suggest]
[Function] mime-read-Content-Type ()
Read field-body of Content-Type field from current-buffer,
and return the parsed result.
Format of return value is as same as `mime-parse-Content-Type'.
Return `nil' if Content-Type field is not found.
[Suggest]
[Inline function] mime-content-type-primary-type (content-type)
Return primary-type of CONTENT-TYPE.
[Required]
[Inline function] mime-content-type-subtype (content-type)
Return subtype of CONTENT-TYPE.
[Required]
[Inline function] mime-content-type-parameter (content-type parameter)
Return PARAMETER value of CONTENT-TYPE.
[Required]
[Inline function] mime-content-type-parameters (content-type)
Return parameters of CONTENT-TYPE.
[Suggest]
[Inline function] mime-type/subtype-string (type &optional subtype)
Return type/subtype string from TYPE and SUBTYPE.
[Suggest]
** Content-Disposition
[Function] mime-parse-Content-Disposition (string)
Parse STRING as field-body of Content-Disposition field.
[Suggest]
[Function] mime-read-Content-Disposition ()
Read field-body of Content-Disposition field from current-buffer,
and return parsed it.
[Suggest]
[Inline function] mime-content-disposition-type (content-disposition)
Return disposition-type of CONTENT-DISPOSITION.
[Required]
[Inline function] mime-content-disposition-parameter
(content-disposition parameter)
Return PARAMETER value of CONTENT-DISPOSITION.
[Required]
[Inline function] mime-content-disposition-filename (content-disposition)
Return filename of CONTENT-DISPOSITION.
[Suggest]<Suggest>
[Inline function] mime-content-disposition-parameters (content-disposition)
Return disposition-parameters of CONTENT-DISPOSITION.
[Suggest]
* encoded-word
** How to use
(require 'mime)
** decoder
[Function] mime-decode-header-in-buffer (&optional code-conversion
separator)
Decode MIME encoded-words in header fields.
If CODE-CONVERSION is nil, it decodes only encoded-words. If it is
mime-charset, it decodes non-ASCII bit patterns as the mime-charset.
Otherwise it decodes non-ASCII bit patterns as the
default-mime-charset.
If SEPARATOR is not nil, it is used as header separator.
[Suggest]
[Function] eword-decode-header (&optional code-conversion separator)
As same as `mime-decode-header-in-buffer', q.v.
Note that
(require 'eword-decode)
is necessary to use this function.
[Optional]<Obsolete> (Usage: cmail 2.61)
[Function] mime-decode-header-in-region (start end
&optional code-conversion)
Decode MIME encoded-words in region between START and END.
If CODE-CONVERSION is nil, it decodes only encoded-words. If it is
mime-charset, it decodes non-ASCII bit patterns as the mime-charset.
Otherwise it decodes non-ASCII bit patterns as the
default-mime-charset.
[Suggest]
[Function] mime-decode-field-body (field-body field-name
&optional mode max-column)
Decode FIELD-BODY as FIELD-NAME in MODE, and return the result.
Optional argument MODE must be `plain', `wide', `summary' or `nov'.
Default mode is `summary'.
If MODE is `wide' and MAX-COLUMN is non-nil, the result is folded
with MAX-COLUMN.
Non MIME encoded-word part in FILED-BODY is decoded with
`default-mime-charset'.
[Required]<Suggest>
[Function] mime-set-field-decoder (field &rest specs)
Set decoder of FIELD.
SPECS must be like `MODE1 DECODER1 MODE2 DECODER2 ...'.
Each mode must be `nil', `plain', `wide', `summary' or `nov'. If
mode is `nil', corresponding decoder is set up for every modes.
[Suggest]
[Macro] mime-find-field-presentation-method (name)
Return field-presentation-method from NAME.
NAME must be `plain', `wide', `summary' or `nov'.
[Suggest]
[Function] mime-find-field-decoder (field &optional mode)
Return function to decode field-body of FIELD in MODE.
Optional argument MODE must be object or name of
field-presentation-method. Name of field-presentation-method must
be `plain', `wide', `summary' or `nov'. Default value of MODE is
`summary'.
[Suggest]
[Function] mime-update-field-decoder-cache (field mode &optional function)
Update field decoder cache `mime-field-decoder-cache'.
[Suggest]
** encoder
[Function] mime-encode-header-in-buffer (&optional code-conversion)
Encode header fields to network representation, such as MIME
encoded-word.
It refer variable `mime-field-encoding-method-alist'.
[Suggest]
[Function] mime-encode-field-body (field-body field-name)
Encode FIELD-BODY as FIELD-NAME, and return the result.
A lexical token includes non-ASCII character is encoded as MIME
encoded-word. ASCII token is not encoded.
[Required]<Suggest>
* Content-Transfer-Encoding
** How to use
(require 'mel)
** Encoding Name
[Variable] mime-encoding-list
List of Content-Transfer-Encoding. Each encoding must be string.
[Suggest]
[Function] mime-encoding-list (&optional service)
Return list of Content-Transfer-Encoding.
If SERVICE is specified, it returns available list of
Content-Transfer-Encoding for it.
[Required]<Suggest>
[Function] mime-encoding-alist (&optional service)
Return table of Content-Transfer-Encoding for completion.
[Suggest]
** String
[Function] mime-decode-string (string encoding)
Decode STRING using ENCODING.
ENCODING must be string. If ENCODING is found in
`mime-encoding-list', this function decodes the STRING by its value.
[Required]<Suggest>
[Function] mime-encode-string (string encoding)
Encode STRING using ENCODING.
ENCODING must be string.
[Required]<Suggest>
[Function] base64-decode-string (STRING)
Base64-decode STRING and return the result.
[Required]
[Function] base64-encode-string (STRING &optional NO-LINE-BREAK)
Base64-encode STRING and return the result.
Optional second argument NO-LINE-BREAK means do not break long lines
into shorter lines.
[Required]
** File
[Command] mime-write-decoded-region (start end filename encoding)
Decode and write current region encoded by ENCODING into FILENAME.
START and END are buffer positions.
[Required]<Suggest>
[Command] mime-insert-encoded-file (filename encoding)
Insert file FILENAME encoded by ENCODING format.
[Required]<Suggest>
[Command] 7bit-write-decoded-region (start end filename)
Decode and write current region encoded by "7bit" into FILENAME.
START and END are buffer positions.
[Optional]
[Command] 7bit-insert-encoded-file (filename)
Insert file FILENAME encoded by "7bit" format.
[Optional]
[Command] 8bit-write-decoded-region (start end filename)
Decode and write current region encoded by "8bit" into FILENAME.
START and END are buffer positions.
[Optional]
[Command] 8bit-insert-encoded-file (filename)
Insert file FILENAME encoded by "8bit" format.
[Optional]
[Command] binary-write-decoded-region (start end filename)
Decode and write current region encoded by "binary" into FILENAME.
START and END are buffer positions.
[Required]
[Command] binary-insert-encoded-file (filename)
Insert file FILENAME encoded by "binary" format.
[Required]
[Command] base64-write-decoded-region (start end filename)
Decode and write current region encoded by "base64" into FILENAME.
START and END are buffer positions.
[Optional]
[Command] base64-insert-encoded-file (filename)
Insert file FILENAME encoded by "base64" format.
[Optional]
[Command] quoted-printable-write-decoded-region (start end filename)
Decode and write current region encoded by "quoted-printable" into
FILENAME.
START and END are buffer positions.
[Optional]
[Command] quoted-printable-insert-encoded-file (filename)
Insert file FILENAME encoded by "quoted-printable" format.
[Optional]
** Region
[Command] mime-decode-region (start end encoding)
Decode region START to END of current buffer using ENCODING.
ENCODING must be string.
[Suggest]<Not Suggest>
[Command] mime-encode-region (start end encoding)
Encode region START to END of current buffer using ENCODING.
ENCODING must be string.
[Suggest]<Not Suggest>
[Command] base64-decode-region (BEG END)
Base64-decode the region between BEG and END.
Return the length of the decoded text.
If the region can't be decoded, return nil and don't modify the
buffer.
[Suggest]<Not Suggest>
[Command] base64-encode-region (BEG END &optional NO-LINE-BREAK)
Base64-encode the region between BEG and END.
Return the length of the encoded text.
Optional third argument NO-LINE-BREAK means do not break long lines
into shorter lines.
[Suggest]<Not Suggest>
** encoded-text
[Function] encoded-text-decode-string (string encoding)
Decode STRING as encoded-text using ENCODING.
ENCODING must be string.
[Suggest]
[Function] encoded-text-encode-string (string encoding &optional mode)
Encode STRING as encoded-text using ENCODING.
ENCODING must be string.
MODE allows `text', `comment', `phrase' or nil. Default value is
`phrase'.
[Suggest]
[Function] base64-encoded-length (string)
Return length of B-encoded STRING.
[Suggest]
[Function] Q-encoded-text-length (string &optional mode)
Return length of Q-encoded STRING.
MODE allows `text', `comment', `phrase' or nil. Default value is
`phrase'.
[Suggest]
* Mailcap
** How to use
(require 'mime-conf)
** Parsing
[Function] mime-parse-mailcap-buffer (&optional buffer order)
Parse BUFFER as a mailcap, and return the result.
If optional argument ORDER is a function, result is sorted by it.
If optional argument ORDER is not specified, result is sorted
original order. Otherwise result is not sorted.
[Required]<Suggest>
[Variable] mime-mailcap-file
File name of user's mailcap file.
[Required]<Suggest> (default value may be "~/.mailcap")
[Function] mime-parse-mailcap-file (&optional filename order)
Parse FILENAME as a mailcap, and return the result.
If optional argument ORDER is a function, result is sorted by it.
If optional argument ORDER is not specified, result is sorted
original order. Otherwise result is not sorted.
[Required]<Suggest>
** Apply
[Function] mime-format-mailcap-command (mtext situation)
Return formated command string from MTEXT and SITUATION.
MTEXT is a command text of mailcap specification, such as
view-command.
SITUATION is an association-list about information of entity. Its
key may be:
'type primary media-type
'subtype media-subtype
'filename filename
STRING parameter of Content-Type field
[Required]<Suggest>
* MIME Field
** How to use
(require 'mime)
** Parsing
[Variable] mime-field-parser-alist
Alist to specify field parser.
[Suggest]
[Function] mime-parse-msg-id (tokens)
Parse TOKENS as msg-id of Content-Id or Message-Id field.
[Suggest]
[Function] mime-uri-parse-cid (string)
Parse STRING as cid URI.
[Suggest]
[Function] mime-parse-Content-Transfer-Encoding (string)
Parse STRING as field-body of Content-Transfer-Encoding field.
If STRING is not a valid Content-Transfer-Encoding field,
return nil.
[Suggest]
[Function] mime-read-Content-Transfer-Encoding ()
Read field-body of Content-Transfer-Encoding field from
current-buffer, and return it.
[Suggest]
* STD 11
** How to use
(require 'std11)
** Header
[Function] std11-narrow-to-header (&optional boundary)
Narrow to the message header.
If BOUNDARY is not nil, it is used as message header separator.
[Required]
** Field
[Function] std11-fetch-field (name)
Return the value of the header field NAME.
The buffer is expected to be narrowed to just the headers of the
message.
[Required]
[Function] std11-field-body (name &optional boundary)
Return the value of the header field NAME.
If BOUNDARY is not nil, it is used as message header separator.
[Required]
[Function] std11-unfold-string (string)
Unfold STRING as message header field.
[Required]
** Lexical Analysis
[Function] std11-lexical-analyze (string &optional analyzer start)
Analyze STRING as lexical tokens of STD 11.
[Suggest]
** Address
[Function] std11-address-string (address)
Return string of address part from parsed ADDRESS of RFC 822.
[Suggest]
[Function] std11-full-name-string (address)
Return string of full-name part from parsed ADDRESS of RFC 822.
[Suggest]
[Function] std11-parse-address-string (string)
Parse STRING as mail address.
[Suggest]
[Function] std11-parse-addresses-string (string)
Parse STRING as mail address list.
[Suggest]
[Function] std11-extract-address-components (string)
Extract full name and canonical address from STRING.
Returns a list of the form (FULL-NAME CANONICAL-ADDRESS). If no
name can be extracted, FULL-NAME will be nil.
[Suggest]
** Message-ID
[Function] std11-msg-id-string (msg-id)
Return string from parsed MSG-ID of RFC 822.
[Suggest]
[Function] std11-parse-msg-id-string (string)
Parse STRING as msg-id.
[Suggest]
[Function] std11-parse-msg-ids-string (string)
Parse STRING as `*(phrase / msg-id)'.
[Suggest]
[Function] std11-fill-msg-id-list-string (string &optional column)
Fill list of msg-id in STRING, and return the result.
[Suggest]
* SMTP
** How to use
(require 'smtp)
** Features
[Function] smtp-send-buffer (sender recipients buffer)
Send a message.
SENDER is an envelope sender address.
RECIPIENTS is a list of envelope recipient addresses.
BUFFER may be a buffer or a buffer name which contains mail message.
[Suggest]
[Function] smtp-via-smtp (sender recipients buffer)
Like `smtp-send-buffer', but sucks in any errors.
[Optional]<Not Suggest>
|