I have built an HTML page with a table that uses rowspan when generating the HTML page and the view on the browser looks good. But when the mailmessage is attached and sent via Powershell. The format of the table body changes... any idea how to tackle this issue ?
enter image description here
Related
I am working on a Database in MS Access. The database has multiple forms within it. Currently, I have an action button that saves the open form as a PDF and attaches it in an email (email has auto-populated "to" line and "subject" line). Many of the forms in this DB need to be saved as PDF and sent via email.
The PDF attaches and the email opens properly, however, the PDF filename is not titled properly. It has a name from another form's attach button function (same email-sending button type, different form).
I did a little digging, and I noticed that when I change the view type to "Design View", the proper title appears:
.
When I am in any other view, it shows the incorrect title:
I've attached the email view where the PDF attached should say Scrap at TRM.
I've also attached the macro that the button runs:
I have a PDF which has a submit button which will submit the PDF fields as an html form to my web API. The submit part works, however it is sending the request payload in a format I have never seen before
Also the request doesn't show the content-type being sent. I supposed it was being sent as application/octet-stream so I added this custom MediaTypeFormatter I found and it still didn't work.
I am filling the PDF fields using iTextSharp and the sending it to the client. The client creates a BLOB URL to display it in an iframe. I noticed that the problem is due to this, because when opening the PDF by itself and filling the data manually and then submitting it works fine, so the problem has to be either when I fill the form fields or when I create the BLOB URL in the client.
That's an Adobe format called FDF (Forms Data Format) but that's just one option for the submit format. You can also submit the data as the equivalent of an HTML GET using the settings shown in the images below.
If your API can accept data from HTML forms, it should work from Acrobat as well.
I have used this below code in default content to generate text Junit test reports.
${JELLY_SCRIPT,template="text"}
But now I wanted same in HTML format. I have changed content type to HTML and placed below code in default content -
${FILE,path="index.html"}
But I am getting html code in my email. Where did I miss ? Any Suggestions..
If you are seeing HTML code in you email, maybe you need to set the content type of the email to HTML(text/html).
You can change the Default Content Type to HTML(text/html) in the Jenkins System Configuration in the Extended E-mail Notification section.
Alternatively you can change the content type in the Job configuration.
If you are using Email ext plugin, then go to your workspace, there should be an 'emailable-report.html' generated. So set the correct path in default content like this:
${FILE,path="path/to/your/emailable-report.html"}
Instead of index.html , given path for those HTML files which are generated like all-tests.html. It worked fine. There may be a issue with frames.
When creating a message and using it to create a draft or email using the Gmail API, can you have an image embedded in the body? I'm looking to have the image data actually embedded similar to how copying and pasting an image (the actual data, not the link) into a Gmail email will place the image right in the content.
Can it be done like this or do I need to upload the image to some other location and use HTML to embed the image in the email? Any pointers on how to do it?
The short answer is that you would do this the same way you would for any email service.
The long answer is that you need to create a multipart/related message, where one part is the HTML content of the email and the other part is the image. The image part contains a Content-ID header that specifies an ID for the image, and the HTML image tag references that ID in the src attribute using the format cid:ID_HERE.
An example of how to construct such an email in Python is here: https://stackoverflow.com/a/1633493
P.S. - A great way to see how emails are constructed is to look at the raw message. You can look at the raw message for a given email in Gmail by clicking the drop down arrow next to the message and selecting "Show original".
I am using jeditable and had it working very weird.
after editing the editable field and submits it instead of printing the new content it displays the entire document window in the textbox(placeholder of editable content).
question: from the example where the author used save.php. what was the content of save.php?
is it necessary to send the result on a php file?? can't an HTML file work?
I believe within the comments box at the bottom of the author's main page - somebody has kindly provided a version of the save.php file for people to use and modify as needed.
The save.php file is used to actually save the values of the editable field/s. Without it, nothing would happen to the data and it would reset to the default text if the page is refreshed.
Options instead of a php file could be:
Saving the text/select changes to a Cookie
Using another server side methos such as asp, jsp, rails or .NET to process the saving of the changes.
an html page is a static page with no processing facility per say to communicate with the website server, so no.. html is not suitable for such a need.
Saving script must return the string you want to display on page after editing. You are now returning full html page.
Source of for all demofiles can be found from GitHub.