Guest ldexterldesign Posted September 12, 2008 Share Posted September 12, 2008 hi guys, as title really. i want to create my first html email to go with a new folio website i'm finishing up (http://www.ldexterldesign.co.uk/wordpress/) and wondered whether it would be possible to get some kinda random quote/image/style colour thingy going at all (actually in the email itself)? my first thoughts are no, given the lack of support for even the most basic languages (notably css), but hopefully someone can favourably suggest otherwise. atm i really don't think it's even close to possible in my head right now. cheers, lewis Link to comment https://forums.phpfreaks.com/topic/123875-php-random-comments-in-an-email-possible/ Share on other sites More sharing options...
Guest ldexterldesign Posted September 17, 2008 Share Posted September 17, 2008 BUMP Link to comment https://forums.phpfreaks.com/topic/123875-php-random-comments-in-an-email-possible/#findComment-644205 Share on other sites More sharing options...
AV1611 Posted September 17, 2008 Share Posted September 17, 2008 sure make a database of random sayings and select the saying from a random number that's the idx for that record. um... you a spammer? Link to comment https://forums.phpfreaks.com/topic/123875-php-random-comments-in-an-email-possible/#findComment-644224 Share on other sites More sharing options...
BlueSkyIS Posted September 17, 2008 Share Posted September 17, 2008 my first thoughts are no, given the lack of support for even the most basic languages (notably css)... and you can send any HTML in an email... as well as attach images, files, pretty much anything you can do with your desktop email app. Link to comment https://forums.phpfreaks.com/topic/123875-php-random-comments-in-an-email-possible/#findComment-644241 Share on other sites More sharing options...
Guest ldexterldesign Posted September 27, 2008 Share Posted September 27, 2008 my first thoughts are no, given the lack of support for even the most basic languages (notably css)... and you can send any HTML in an email... as well as attach images, files, pretty much anything you can do with your desktop email app. sure, you can send it. doesn't mean it'll appear that way the other side in the viewers email client. Link to comment https://forums.phpfreaks.com/topic/123875-php-random-comments-in-an-email-possible/#findComment-651816 Share on other sites More sharing options...
Guest ldexterldesign Posted September 27, 2008 Share Posted September 27, 2008 sure make a database of random sayings and select the saying from a random number that's the idx for that record. um... you a spammer? sorry, this isn't much help. i'm aware of how to work with random functions/sql/and dbs, although the problems i face are: there is no server to process scripting client side (in the recipients email client) my email client thunderbird can't process php either! for instance; if i send myself an email in thunderbird (received in thunderbird) with phpinfo() in it somewhere, then it doesn't get processed - capiche?! so i can't load a random script telling the recipient to load a random url (image/css file/hex colour etc). some specific examples/solutions would be much more help here guys. thanks, lewis Link to comment https://forums.phpfreaks.com/topic/123875-php-random-comments-in-an-email-possible/#findComment-651823 Share on other sites More sharing options...
DamienRoche Posted September 27, 2008 Share Posted September 27, 2008 ok. So first thing: get over yourself! Don't expect everybody to drop to their knees for you. Second, being at least a capable designer, you should know that 80% of email clients will process html just fine. One thing about php...it's server based. You don't use an email client to send emails with it. Email clients do not need to process the php because the php is processed first. You will have to use a little something called phpmailer...or create a simple mail(); function. That's when this comes into play: "make a database of random sayings and select the saying from a random number that's the idx for that record." ...hope that helps. Link to comment https://forums.phpfreaks.com/topic/123875-php-random-comments-in-an-email-possible/#findComment-651826 Share on other sites More sharing options...
Guest ldexterldesign Posted September 29, 2008 Share Posted September 29, 2008 ok. So first thing: get over yourself! Don't expect everybody to drop to their knees for you. Second, being at least a capable designer, you should know that 80% of email clients will process html just fine. One thing about php...it's server based. You don't use an email client to send emails with it. Email clients do not need to process the php because the php is processed first. You will have to use a little something called phpmailer...or create a simple mail(); function. That's when this comes into play: "make a database of random sayings and select the saying from a random number that's the idx for that record." ...hope that helps. thanks for your response. in no way did i think i was coming across as obnoxious? so sorry for that if you've interpreted it that way. i'm sending emails through my email client (thunderbird). nothing else. i realise you can do whatever you like, including random comments, using the mail() php function, however i'm not using that here and won't be able to either. basically at present i have a .txt signature file which is included in my emails at the footer. the .txt file is static and is simply linked to (locally) through thunderbird. if i could randomize the colour or text in this file (hence the randomness) that would be useful. just can't think of a way of doing it atm. if i put the contents of the txt file online and intergrated the randomness with php there then that would work, although i don't know how i could link to the online script through thunderbird? hope this clarifies my problem a little better. any other thoughts guys as to whether this is possible? lewis Link to comment https://forums.phpfreaks.com/topic/123875-php-random-comments-in-an-email-possible/#findComment-652918 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.