Solved

Dynamicaly generating images for emails

Posted on 2004-04-29
6
208 Views
Last Modified: 2013-11-19
First off, I would like to say that I am not a spammer and my question is a philosophical one so it should be easy to answer.  I work for a financial company that emails customers weekly market commentary that is about 3-6 pages long.  We ran into problems with spam filters because there were some words (like debt, investment.) that the financial guys could not live without.  I made a program that flags potential spam words, and then we have to beg them to try to find Synonyms that won't get flaged.  

I had this great idea to modify the program so when it finds a potential spam word it will replace it with an image of the word that looked exactly the same.  I found a great tutorial about generating images on-the-fly using PHP.

My question is will this help email deliverability. And is it worth the effort?  Also, if anyone has created text images using PHP and would like to add some tips, that would be helpful.  
0
Comment
Question by:navom1
6 Comments
 
LVL 24

Expert Comment

by:duz
Comment Utility
navom1 -

Nice idea :) but I am sure it's not worth the effort.  That is unless you produce a generic version and then sell it to the spammers :(

If I was in this position I would get an intern to spend a week accumulating 'financial newsletters' and see if any of them have eased the problem and how.

There are some bright people here and I think there may be some better ideas coming along.....

- duz
0
 
LVL 9

Expert Comment

by:leechoonhwee
Comment Utility
Why not just send the customers a link to a web page that display the content?
0
 

Author Comment

by:navom1
Comment Utility
I fooled around with some PHP scripts and it dosen't look all that difficult.  the only problem I see is if someone was using a weird font.  

I saw some emails that used this idea about a year ago, but I haven't seen them since.  have they trained filters to look for this little trick?

I don't think that our customers would like having to take the extra step of clicking on the link.  most of our customers are older (we do a lot of retirement planning) and we want to make it as easy as possible for them.
0
 

Author Comment

by:navom1
Comment Utility
I tried using the trick I found here:

http://www.experts-exchange.com/Web/Online_Marketing/Q_20448088.html

which was to load the content of the website using this code:


<html>
<SCRIPT LANGUAGE="Javascript">
<!--
rfsh = new Date()
rfsh = "?"+rfsh.getTime()
theurl = "http://www.yoursite.xyz/content.html"+rfsh
document.location=theurl
//-->
</SCRIPT>
</html>


This way I would not have to worry about the content and would solve my problem.  I tested this by sending this to a yahoo address and could not get it to work.  I think this is because it would solve alot of spammers problems as well.
0
 
LVL 2

Accepted Solution

by:
harveykane earned 126 total points
Comment Utility
This is a PHP script I use to display text vertically on a page (as far as I know, an image is the only way to do this). I'm not on my development machine, so I cant make a custom script but you should be able to modify this one. You need to use this with a 100x100 PNG as your background called "images/button1.png" - any PNG will do for testing purposes.

To use this script, GD needs to be installed on your server. GD is bundled with recent versions of PHP, but you do need to enable it - details at php.net

Also, GD defaults to a pretty lame set of 5 default fonts - I believe it's a mission to install more fonts. You will almost certainly run into font problems with your newsletter if some words are text and others images. I'm not sure what the best method of working with this is.

<?php
   //TEXT.PHP - makes a small PNG image with vertical text
   header("Content-type: image/png");
   $string = $_GET['text'];
   $im    = imagecreatefrompng("images/button1.png");
   $black = imagecolorallocate($im, 0, 0, 0);
   imagestringup($im, 3, 5, 145, $string, $black);
   imagepng($im);
   imagedestroy($im);
?>

Call the script using...
<image src="text.php?text=helloworld">
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

The next wave of Panda releases starts with Panda2.1 After the game-changing Panda2.0 update that caused a reduction in Google search engine referral traffic to a newly affected and larger set of websites, more Panda updates were already in the pip…
Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
An overview of how to create reports in Adobe Analytics (formerly Omniture Site Catalyst) using pageNames, events, eVars and props. This video will show you how to install the Omniture Debugger tool so can see (and test) what is being passed int…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now