<@U4DG62U2H> Were you ever able to get that to wor...
# suitescript
a
@jarens Were you ever able to get that to work, because its not working for me.
j
@Azi, sorry didn't see this until now. Yes it will work. My best guess is that you don't have the image "Available without Login" checkbox checked. Go to the file and make sure that box is checked.
a
@jarens I have the available without login checked and its still not working. You hardcode the url from image record or you get it from file.url? Because file.url doesn't give the full path
j
Yeah, you would need to hardcode the url for how you are trying to do it. Normally for styled emails I create and load an email template though. That way, you define the body layout using the NetSuite UI.
var email = file.load({ id : //Template ID }).getContents()
a
@jarens LOL! I just realized it wasn't working because my outlook is set to blocks images! Don't worry, I haven't been working on it so much
j
😂