ellemae Posted March 17, 2010 Posted March 17, 2010 I'm new to the 360Works email plug-in and I'm trying to add the company logo to the email as a header. I've tried using the EmailAttachFileInline function which adds the logo at the end of the email and not at the header. Any ideas???
Smef Posted March 17, 2010 Posted March 17, 2010 What you are likely seeing is your mail client handling an inline attachment by adding it to the end of the email. Some clients will do this as a convenience for users, so that people can view documents or images attached to an email without having to manually download and open each of them individually. You will want to call the EmailAttachFileInline function when creating your email, and then use to refer to the attached image in the body of your HTML email and put it where you like. You can see an example of using an inline attachment in the body of our email in the Function Summary for the EmailAttachFileInline in the documentation for the email plugin which came with your download and is also available online at http://www.360works.com/plugins/EMAILPLUG/documentation.html#EmailAttachFileInline
ellemae Posted March 17, 2010 Author Posted March 17, 2010 I set it up the following way but I still don't see the attachment in the right place. You suggested that I call the EmailAttachFileInline when I create the email. Does that mean within the EmailCreate function? EmailAttachFileInline( "C:Program FilesCommon FilesMicrosoft SharedStationeryMicatoTL10Logo.jpg"; "cid:micatoheader2010") EmailSetBody( " ";"html")
Smef Posted March 18, 2010 Posted March 18, 2010 You should call the function after the EmailCreate function, yes. I see that you are including the "cid:" when you are defining the ID with the AttachFileInline function. You should not be incliding that part in the parameter. Your function should look like. EmailAttachFileInline( "C:Program FilesCommon FilesMicrosoft SharedStationeryMicatoTL10Logo.jpg"; "micatoheader2010")
dshenderson Posted January 20, 2011 Posted January 20, 2011 Can someone explain the parameters for the EmailAttachFileInline function. I don't understand what I am supposed to be referencing.
Smef Posted January 21, 2011 Posted January 21, 2011 I responded to the thread you created http://fmforums.com/forum/topic/76098-emailattachfileinline/
Recommended Posts
This topic is 5111 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now