Jump to content

How to apply stylesheets in lotusnotes email using php.


krishna.p

Recommended Posts

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

 

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?

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.