Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2456 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello Friend ,

Though I have gone through 360works Email plugin but I am facing lot of problems. Here first of all table fields items are not working in “EmailChooseFile” for attaching the product attachments (Already Attached in container form with selected product id and product Name of portal Table in quotation details layout) as well as also not attaching the extra attachments which I have in QuoteSe table fields as( QutSe ::Attachments). Here first I insert the desire attachments by button as insert file .  Also in Inline Attachments I have put the parameter but not working and not getting the signature image in gmail. Third also in Emailcreate I have put the value in subject parameter  by table field  (Qutse :: Quote for) it is also not working .

Here are some pics for the same and for reference small rar file to go in details.

I Hope I may be somewhere in wrong steps as well as wrong parameter used.

 

Screenshot (12).png

Screenshot (13).png

Screenshot (14).png

Samarth_Dashboard_Soutions(17-18).rar

Posted

Hi Samarthmkt,

    The first issue is you are not using EmailChooseFile correctly.  EmailChooseFile will open a file chooser window, allow a user to select a file, and then returns the path of that file. It accepts 3 parameters, the initial path to set the file choose to, the types of files to show in the file chooser, and the title of the window for the file chooser.  If you are trying to attach these files to your email, you need to use EmailAttachFile.

Next, your subject is working but you are passing in "Quotation For" as the subject and then it looks like you want the field reference you are passing in as the 4th parameter, which is the content parameter, to be in the subject. What I think you want is :

EmailCreate("[email protected]";"[email protected]";"Quotation for"& QuoteSe::Quote For) 

 Next, you are using EmailAttachFileInline incorrectly. In order to use this function, your need to have fully qualified HTML for the email body and it must use contentIDs for the <img src> tag and then when you call EmailAttachFileInline you pass in the data you want in the email and the contentID you specified in your HTML. Here is a simple example:

EmailCreate("[email protected]"; "[email protected]"; "My Newsletter")
EmailSetBody(
     "<html><body><img src=\"cid:headergif123\">" &
     "
This is an HTML message with embedded images

" &
     "<img src=\"cid:footergif456\">" &
     "</body></html>";
     "html")
 EmailAttachFileInline( Globals::headerContainer ; "headergif123" )
 EmailAttachFileInline( Globals::footerContainer ; "footergif456" )
 EmailSend

In this example the <img src> tags use arbitrary names for the contentIDs (cid) but they need to be preceded with "cid:" . For example if you wanted to call the cid samarthmkt123 then you would pass in "cid:samarthmkt123" as the value for the <img src> tag. 

I hope that helps!

Posted

Thanks friend,

 

 

At last with your valuable cooperation I succeed in my this application . Now all the things what I want is getting. No problem.

One thing I want to ask that in Company Info Se::Header I don’t want any image or text because whatever I want I am already putting in body text. And if I insert any data(Image) in Company Info Se::Header it showing an image in Gmail while sending email as well as in receiving mail also. And if we put blank the Company Info Se::Header the email is sending but while receiving mail its showing cross notch on top.    Pics are attached of the same.

Second I want to ask that was not my issue in previous discussion but I come to know when I was preparing quotation for two different items. Up till now I was trying on single item . As I am getting the  attach file of picture and pdf of first line item of quotation portal table but if add another product item in line two of portal table ( This item also contain the picture and pdf ) not attaching the pictures and pdf of line two only attaching the first line items products pics and pdf file . May any script for this to get the attach file of line two items. Because rather we have to quote at least two to three items of different models with different specifications.

Receiving Mail in outlook.png

Screenshot (54).png

Screenshot (55).png

Screenshot (56).png

Screenshot (61).png

Screenshot (62).png

Script Steps of setemailbody function.png

Sending mail through gmail.png

Screenshot (63).png

This topic is 2456 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.