Version Française
( Blog «email»)

Les réseaux sociaux détrônent les emails

Written by Jean-Michel Marcotte | 5 November 2010 | 0

Les médias sociaux sont encore relativement nouveaux dans le monde d'internet et pourtant, selon une étude, de TNS «  digital life » sortie le 10 octobre 2010 et réalisée à l'échelle mondiale, l'utilisateur typique passe plus de temps sur les sites de réseaux sociaux que tout autre site.

L'étude fait ressortir qu'en moyenne, l'utilisateur passe durant la semaine 4,4h à consulter ses emails, et 4,6h à surfer sur les divers réseaux sociaux.
 
Pourtant, fait étonnant,  l'étude indique que les gens ont davantage tendance à consulter leurs emails, ou encore aller lire les nouvelles en ligne, qu'à aller sur ce genre de site. En effet, trois quart des participants avouent consulter leurs messages quotidiennement alors que seulement la moitié d'entre eux le font pour leurs sites de réseaux sociaux.
 
 120762(2).gif
 
Les réseaux sociaux sont donc hautement consommateur de temps chez les utilisateurs. Mais en valent-ils la peine ?
 
Probablement puisque au-delà d'un point de vue uniquement social, ce genre de site reste un outil de communication important et permet de se tenir au courant de l'actualité et des tendances du moment.
De plus, les sites de ce genre sont un excellent moyen de connaitre et se faire connaitre, comme l'indique les rapports de référencement des dernières années. Les OSBL, qui n'ont pas les moyens de se payer des grandes compagnes de pub, l'ont d'ailleurs comprit. 
 

Source: eMarketer

Tags: actualité, communication, emails, étude, médias sociaux, OSBL, pub, référencement, social, tendances,

Category: Web

Share:

Image Email script, the spam solution!

Written by Joel Landry | 4 January 2010 | 0

Heres a useful trick if you dont want to receive spam in your email inbox when you display your email on a highly popular website.

Create an email.php page containing this script:

// Variables configuration
$emails[1] = "info@domain.com";
$emails[2] = "test@domain.com";
//$emails[n] = "anything@domain.com";
$pathToFont = "fonts/arial.ttf"; //System Font File


// Default variables
$maxWidth = 150;
$maxHeight = 16;
$paddding = 12;
$size = 10;
$background = "ffffff";
$color = "000000";
$emailAddress = "email@domain.com";


// Get variables
$maxWidth = (isset($_GET['width'])) ? (integer)$_GET['width']:$maxWidth;
$maxHeight = (isset($_GET['height'])) ? (integer)$_GET['height']:$maxHeight;
$paddding = (isset($_GET['padding'])) ? (integer)$_GET['padding']:$paddding;
$size = (isset($_GET['size'])) ? (integer)$_GET['size']:$size;
$background = (isset($_GET['background'])) ? ($_GET['background']):($background);
$color = (isset($_GET['color'])) ? ($_GET['color']):($color);
$emailAddress = (isset($emails[$_GET['email']])) ? ($emails[$_GET['email']]):$emailAddress;


// Color converter function
function hexToRGB($hex) {
	$hex = str_replace("#", "", $hex);
	$color = array();
	
	if(strlen($hex) == 3) {
		$color['r'] = hexdec(substr($hex, 0, 1) . $r);
		$color['g'] = hexdec(substr($hex, 1, 1) . $g);
		$color['b'] = hexdec(substr($hex, 2, 1) . $b);
	}
	else if(strlen($hex) == 6) {
		$color['r'] = hexdec(substr($hex, 0, 2));
		$color['g'] = hexdec(substr($hex, 2, 2));
		$color['b'] = hexdec(substr($hex, 4, 2));
	}
	
	return $color;
}


// Create the image
$im = imagecreatetruecolor($maxWidth, $maxHeight);
$rgb = hexToRGB($background);
$backgroundColor = imagecolorallocate($im, $rgb["r"], $rgb["g"], $rgb["b"]);
$rgb = hexToRGB($color);
$fontColor = imagecolorallocate($im, $rgb["r"], $rgb["g"], $rgb["b"]);


// Add the background color
imagefilledrectangle($im, 0, 0, $maxWidth-1, $maxHeight-1, $backgroundColor);
imagecolortransparent($im, $backgroundColor); 

// Size configuration
$coord = imagettfbbox ( $size ,0 , $pathToFont , "($emailAddress)" );
if($coord[2] > $maxWidth) $size = 9;

// Image Email creation
imagettftext ( $im, $size , 0 , 0 , $paddding , $fontColor, $pathToFont , $emailAddress );

// Display the image in the browser
header('Content-type: image/gif');
imagegif($im);
imagedestroy($im);

We use it like this:

email.php?email=1&color=F0F0F0&background=000000&width=220&height=16&padding=12

The variables are:

email: The email we want to display (declared in the script)
color:
Font color
background: Background color
width: Image width
height: Image height
padding: Padding inside the image

Here's the final result of what it looks like:

NOTE: The GD2 library must be "enabled" in your PHP config.

Tags: email, image email, spam,

Category: Free stuff

Share: