Images within Emails

Discussions relating to breakout scripting, .NET and COM programming with Jiwa objects.

Images within Emails

Postby robin » Fri May 07, 2010 2:24 pm

Hi Guys,

Within the breakout scripting (Form email invoice clicked) is it possible to add images or if not fonted and colored text.

I tried most of the HTML coding options and none seemed to work. My knowledge of VB scripting gets worse with every year I get older (going to have a play with it and Google some stuff in the meantime)

Not a biggie really, just curious if it is possible.

Regards
Robin Fleming
robin
Occasional Contributor
Occasional Contributor
 
Posts: 26
Joined: Tue May 19, 2009 1:11 pm

Re: Images within Emails

Postby Nathan » Wed May 19, 2010 11:37 am

Hi Robin,

I'm not sure what API you are using to send emails from Jiwa. We use CDO, which has the ability to specify HTML. In the HTML you can link to an image as you would in any web page using image tags, provided the image is hosted on a publicly available web server.

If you are using CDO, make sure you specify HTMLBody instead of TextBody.

These links are ASP centric but they will be useful in providing examples for breakouts too.

http://classicasp.aspfaq.com/email/how- ... h-cdo.html
http://classicasp.aspfaq.com/email/how- ... ormat.html
http://www.4guysfromrolla.com/webtech/112298-1.shtml
Nathan
Occasional Contributor
Occasional Contributor
 
Posts: 10
Joined: Tue Nov 03, 2009 5:55 pm

Re: Images within Emails

Postby Mike.Sheen » Wed May 19, 2010 9:06 pm

robin wrote:Hi Guys,

Within the breakout scripting (Form email invoice clicked) is it possible to add images or if not fonted and colored text.

I tried most of the HTML coding options and none seemed to work. My knowledge of VB scripting gets worse with every year I get older (going to have a play with it and Google some stuff in the meantime)

Not a biggie really, just curious if it is possible.

Regards
Robin Fleming


Ok - here's the thing. We followed the guidance on how to send emails using the .NET framework in 06.05.13, and as it turns out none of that is RFC compliant (RFC 822, etc).

So, in 06.05.14 I've adjusted a few things - so keep in mind whatever you're using right now, may change or stop working in 06.05.14.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2486
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 770


Return to Technical / Programming

Who is online

Users browsing this forum: No registered users and 0 guests