Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

imap setflag full function syntax tag tutorial 2013





Alert! Connect with 10,000 Chating Online. Join Now

Php imap setflag full () function

Write your php code

 
<?php ?>

Php Result


Your code below



(PHP 3>= 3.0.3, PHP 4 , PHP 5)

imap_setflag_full -- Sets flags on messages

Syntax

bool imap_setflag_full ( resource stream, string sequence, string flag [, string options] )

This function causes a store to add the specified flag to the flags set for the messages in the specified sequence.

The flags which you can set are "\\Seen", "\\Answered", "\\Flagged", "\\Deleted", and "\\Draft" (as defined by RFC2060).

options are a bit mask and may contain the single option:

  • ST_UID - The sequence argument contains UIDs instead of sequence numbers

Example 1. imap_setflag_full() example

<?php
$mbox
= imap_open("{your.imap.host:143}", "username", "password")
     or die(
"can't connect: " . imap_last_error());

$status = imap_setflag_full($mbox, "2,5", "\\Seen \\Flagged");

echo
gettype($status) . "\n";
echo
$status . "\n";

imap_close($mbox);
?>

See also: imap_clearflag_full().

Php imap setflag full Function syntax tag

imap setflag full php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online



Php imap setflag full syntax tutorial

php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.


Function index

Variables

Expressions

Operators

Control-Structures

Cookies

Array

Date & Time

Directory function

File

Image

Operators

Form data handling

Mathematics operators

Mail

Php Mysql

Network Functions

Strings

php tutorial guides,functions, classes, code examples and tags for creating simple dynamic site to mysql database driven sites
 
 
Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online