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
|
This is guile-procedures.txt, produced by makeinfo version 4.13 from
guile-procedures.texi.
mu-address-get-personal
-- Scheme procedure: mu-address-get-personal address num
Return personal part of the NUMth email address from ADDRESS.
mu-address-get-comments
-- Scheme procedure: mu-address-get-comments address num
Return comment part of the NUMth email address from ADDRESS.
mu-address-get-email
-- Scheme procedure: mu-address-get-email address num
Return email part of the NUMth email address from ADDRESS.
mu-address-get-domain
-- Scheme procedure: mu-address-get-domain address num
Return domain part of the NUMth email address from ADDRESS.
mu-address-get-local
-- Scheme procedure: mu-address-get-local address num
Return local part of the NUMth email address from ADDRESS.
mu-address-get-count
-- Scheme procedure: mu-address-get-count address
Return number of parts in email address ADDRESS.
mu-username->email
-- Scheme procedure: mu-username->email name
Deduce user's email address from his username. If NAME is omitted,
current username is assumed
mu-body-read-line
-- Scheme procedure: mu-body-read-line body
Read next line from the BODY.
mu-body-write
-- Scheme procedure: mu-body-write body text
Append TEXT to message BODY.
mu-mail-directory
-- Scheme procedure: mu-mail-directory url
Do not use this function. Use mu-user-mailbox-url instead.
mu-user-mailbox-url
-- Scheme procedure: mu-user-mailbox-url user
mu-folder-directory
-- Scheme procedure: mu-folder-directory url
If URL is given, sets it as a name of the user's folder directory.
Returns the current value of the folder directory.
mu-mailbox-open
-- Scheme procedure: mu-mailbox-open url mode
Opens the mailbox specified by URL. MODE is a string, consisting of
the characters described below, giving the access mode for the
mailbox
MODE Meaning
--------------------------------------------------------------
r Open for reading.
w Open for writing.
a Open for appending to the end of the mailbox.
c Create the mailbox if it does not exist.
mu-mailbox-close
-- Scheme procedure: mu-mailbox-close mbox
Closes mailbox MBOX.
mu-mailbox-get-url
-- Scheme procedure: mu-mailbox-get-url mbox
Returns url of the mailbox MBOX.
mu-mailbox-get-port
-- Scheme procedure: mu-mailbox-get-port mbox mode
Returns a port associated with the contents of the MBOX. MODE is
a string defining operation mode of the stream. It may contain any
of the two characters: `r' for reading, `w' for writing.
mu-mailbox-get-message
-- Scheme procedure: mu-mailbox-get-message mbox msgno
Retrieve from message #MSGNO from the mailbox MBOX.
mu-mailbox-messages-count
-- Scheme procedure: mu-mailbox-messages-count mbox
Returns number of messages in the mailbox MBOX.
mu-mailbox-expunge
-- Scheme procedure: mu-mailbox-expunge mbox
Expunges deleted messages from the mailbox MBOX.
mu-mailbox-append-message
-- Scheme procedure: mu-mailbox-append-message mbox mesg
Appends message MESG to the mailbox MBOX.
mu-message-create
-- Scheme procedure: mu-message-create
Creates an empty message.
mu-message-copy
-- Scheme procedure: mu-message-copy mesg
Creates the copy of the message MESG.
mu-message-destroy
-- Scheme procedure: mu-message-destroy mesg
Destroys the message MESG.
mu-message-set-header
-- Scheme procedure: mu-message-set-header mesg header value replace
Sets new VALUE to the header HEADER of the message MESG. If
HEADER is already present in the message its value is replaced
with the suplied one iff the optional REPLACE is #t. Otherwise, a
new header is created and appended.
mu-message-get-size
-- Scheme procedure: mu-message-get-size mesg
Returns the size of the message MESG .
mu-message-get-lines
-- Scheme procedure: mu-message-get-lines mesg
Returns number of lines in the given message.
mu-message-get-sender
-- Scheme procedure: mu-message-get-sender mesg
Returns email address of the sender of the message MESG.
mu-message-get-header
-- Scheme procedure: mu-message-get-header mesg header
Returns value of the header HEADER from the message MESG.
mu-message-get-header-fields
-- Scheme procedure: mu-message-get-header-fields mesg headers
Returns the list of headers in the message MESG. Optional argument
HEADERS gives a list of header names to restrict return value to.
mu-message-set-header-fields
-- Scheme procedure: mu-message-set-header-fields mesg list replace
Set the headers in the message MESG from LIST LIST is a list of
conses (cons HEADER VALUE). The function sets these headers in
the message MESG. Optional parameter REPLACE specifies whether
the new header values should replace the headers already present
in the message.
mu-message-delete
-- Scheme procedure: mu-message-delete mesg flag
Mark the message MESG as deleted. Optional argument FLAG allows to
toggle deletion mark. The message is deleted if it is `#t' and
undeleted if it is `#f'
mu-message-get-flag
-- Scheme procedure: mu-message-get-flag mesg flag
Return value of the attribute FLAG of the message MESG.
mu-message-set-flag
-- Scheme procedure: mu-message-set-flag mesg flag value
Set the attribute FLAG of the message MESG. If optional VALUE is
#f, the attribute is unset.
mu-message-get-user-flag
-- Scheme procedure: mu-message-get-user-flag mesg flag
Return the value of the user attribute FLAG from the message MESG.
mu-message-set-user-flag
-- Scheme procedure: mu-message-set-user-flag mesg flag value
Set the given user attribute FLAG in the message MESG. If optional
argumen VALUE is `#f', the attribute is unset.
mu-message-get-port
-- Scheme procedure: mu-message-get-port mesg mode full
Returns a port associated with the given MESG. MODE is a string
defining operation mode of the stream. It may contain any of the
two characters: `r' for reading, `w' for writing. If optional
argument FULL is specified, it should be a boolean value. If it
is `#t' then the returned port will allow access to any part of
the message (including headers). If it is `#f' then the port
accesses only the message body (the default).
mu-message-get-body
-- Scheme procedure: mu-message-get-body mesg
Returns the message body for the message MESG.
mu-message-multipart?
-- Scheme procedure: mu-message-multipart? mesg
Returns `#t' if MESG is a multipart MIME message.
mu-message-get-num-parts
-- Scheme procedure: mu-message-get-num-parts mesg
Returns number of parts in a multipart MIME message. Returns `#f'
if the argument is not a multipart message.
mu-message-get-part
-- Scheme procedure: mu-message-get-part mesg part
Returns part #PART from a multipart MIME message MESG.
mu-message-send
-- Scheme procedure: mu-message-send mesg mailer from to
Sends the message MESG. Optional MAILER overrides default mailer
settings in mu-mailer. Optional FROM and TO give sender and
recever addresses.
mu-message-get-uid
-- Scheme procedure: mu-message-get-uid mesg
Returns uid of the message MESG
mu-mime-create
-- Scheme procedure: mu-mime-create flags mesg
Creates a new MIME object. Both arguments are optional. FLAGS
specifies the type of the object to create (`0' is a reasonable
value). MESG gives the message to create the MIME object from.
mu-mime-multipart?
-- Scheme procedure: mu-mime-multipart? mime
Returns `#t' if MIME is a multipart object.
mu-mime-get-num-parts
-- Scheme procedure: mu-mime-get-num-parts mime
Returns number of parts in the MIME object MIME.
mu-mime-get-part
-- Scheme procedure: mu-mime-get-part mime num
Returns NUMth part from the MIME object MIME.
mu-mime-add-part
-- Scheme procedure: mu-mime-add-part mime mesg
Adds MESG to the MIME object MIME.
mu-mime-get-message
-- Scheme procedure: mu-mime-get-message mime
Converts MIME object MIME to a message.
mu-openlog
-- Scheme procedure: mu-openlog ident option facility
Opens a connection to the system logger for Guile program. IDENT,
OPTION and FACILITY have the same meaning as in openlog(3)
mu-logger
-- Scheme procedure: mu-logger prio text
Distributes TEXT via syslogd priority PRIO.
mu-closelog
-- Scheme procedure: mu-closelog
Closes the channel to the system logger opened by `mu-openlog'.
mu-register-format
-- Scheme procedure: mu-register-format rest
Registers desired mailutils formats. Any number of arguments can
be given. Each argument must be one of the following strings:
Argument Meaning
--------------------------------------------------------------
`mbox' Regular UNIX mbox format
`mh' MH mailbox format
`maildir' Maildir mailbox format
`pop' POP mailbox format
`imap' IMAP mailbox format
`sendmail' sendmail mailer format
`smtp' SMTP mailer format
If called without arguments, the function registers all available
formats
mu-strerror
-- Scheme procedure: mu-strerror err
Return the error message corresponding to ERR, which must be an
integer value.
mu-getpwuid
-- Scheme procedure: mu-getpwuid user
Look up an entry in the user database. USER can be an integer, or
a string, giving the behaviour of `mu_get_auth_by_uid' or
`mu_get_auth_by_name' respectively.
Returns a vector with fields corresponding to those of the
`mu_auth_data' entry in question. If no matching entry was found,
returns `#f'.
|