ugt100 0 Posted November 8, 2010 Hi all,maybe someone can help me with my issue/problem mentioned above.Problem description:I would like to send an email notification (if there is an error on our webserver / -shop) in html style instead of plain text.(because this mail is also send to our CEO ....)For sending this mail I use the UDF INetSmtpMailCom, which works fine.As far as I understand the function it is possible to use html style too.(If SringInStr($as_Body,"<") And SringInStr($as_Body,">") Then $objEmail.HTMLBody = $as_Body)Now the question is how to set the $as_Body variable so it works ?Do I need to attach the whole html code or must I create line by line ???I do not have any idea ?Thx in advance regardsChris (ugt100) Share this post Link to post Share on other sites
supadodger 0 Posted November 8, 2010 Hi all,maybe someone can help me with my issue/problem mentioned above.Problem description:I would like to send an email notification (if there is an error on our webserver / -shop) in html style instead of plain text.(because this mail is also send to our CEO ....)For sending this mail I use the UDF INetSmtpMailCom, which works fine.As far as I understand the function it is possible to use html style too.(If SringInStr($as_Body,"<") And SringInStr($as_Body,">") Then $objEmail.HTMLBody = $as_Body)Now the question is how to set the $as_Body variable so it works ?Do I need to attach the whole html code or must I create line by line ???I do not have any idea ?Thx in advance regardsChris (ugt100)cant you just $as_body = FileRead("error.html")?did you try that? Share this post Link to post Share on other sites