krishna.p Posted May 29, 2008 Share Posted May 29, 2008 hi experts, i am new to php. i have created a simple html content with styles as follows <span style="width:2%"> </span> and <div style="height:1%"></div> and have sent this format to lotus notes email id using php mail function. when i open the email i was shocked seeing that there were no stylesheets applied. however it is working fine in Microsoft Exchange. i dont know where i have committed mistake. this is happening particularly in the height and width case. i want to create html content with out using Tables. so i have used DIV tags. so my question is how to apply height and width that serves in lotus notes email. thanks in advance. Thanks krishna.p Link to comment https://forums.phpfreaks.com/topic/107793-how-to-apply-stylesheets-in-lotusnotes-email-using-php/ Share on other sites More sharing options...
rhodesa Posted May 29, 2008 Share Posted May 29, 2008 With Notes, I don't think styles were supported until v7. But, it also doesn't matter what version your client is, cus the server is what does the conversion from HTML to LotusScript. What version of Domino is the server running? Link to comment https://forums.phpfreaks.com/topic/107793-how-to-apply-stylesheets-in-lotusnotes-email-using-php/#findComment-552553 Share on other sites More sharing options...
krishna.p Posted May 29, 2008 Author Share Posted May 29, 2008 thanks for ur reply...my lotus notes version is 6.2. though some styles are applying, actually i was facing problem particularly with height and width.. i am able to get both height and width when i use tables. but problem with tables is , whenever the mail is forwarded space between the tables is incrementing. so this time i have tried using DIV tags. so im eager to know how i can increment the height and width that can work in lotus notes environment. thanks in advance.. thanks, krishna.p Link to comment https://forums.phpfreaks.com/topic/107793-how-to-apply-stylesheets-in-lotusnotes-email-using-php/#findComment-552557 Share on other sites More sharing options...
rhodesa Posted May 29, 2008 Share Posted May 29, 2008 I did one email template a while back and spent weeks making it look the same in both notes and a normal html client (like gmail). I never tried forwarding it though. I ended up scraping styles and using old-school HTML attributes for width/height/bgcolor/etc Link to comment https://forums.phpfreaks.com/topic/107793-how-to-apply-stylesheets-in-lotusnotes-email-using-php/#findComment-552606 Share on other sites More sharing options...
krishna.p Posted May 29, 2008 Author Share Posted May 29, 2008 same position here too...spending weeks to see template look same in both lotus and normal html. if you have that email template could you please provide me with a sample snippet. i will have look at it to insure that mistake never repeats again..appreciate your help.. Thanks, krishna.p Link to comment https://forums.phpfreaks.com/topic/107793-how-to-apply-stylesheets-in-lotusnotes-email-using-php/#findComment-552623 Share on other sites More sharing options...
rhodesa Posted May 29, 2008 Share Posted May 29, 2008 unfortunately no, it was for an internal thing at a former company Link to comment https://forums.phpfreaks.com/topic/107793-how-to-apply-stylesheets-in-lotusnotes-email-using-php/#findComment-552756 Share on other sites More sharing options...
krishna.p Posted May 29, 2008 Author Share Posted May 29, 2008 its ok.. no problem..anyways appreciate your help.. Link to comment https://forums.phpfreaks.com/topic/107793-how-to-apply-stylesheets-in-lotusnotes-email-using-php/#findComment-552806 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.