Laravel mail layout issue when adding attachement - laravel

Having a problem with mail layout when adding an attachment
The layout goes to the right and keep empty space in the left side
It happens just when i add an attachment and have this problem in gmail application
show image

Related

Send an email with the editable pdf placed in an iframe

I have a website built with Laravel and I need that the customer fills a editable PDF and send it to an specific address.
Instead of asking them to download it, fill it in local and then send it, I have created a new page in my site where I placed the editable PDF using an iframe.
Now, I would like to add a button that once the customer fills the PDF, it sends it automatically.
Does anybody know how to achieved this or is it not possible?
I am trying to do it using ajax, calling a method in my controller that will send the email using a template and with an attachment, but I don't know how to pass the PDF filled to it from the view(iframe).
Thank you in advance

Mail preview wrong after setting HTMLBody

I am developing a vsto add-in for Outlook.
I am trying to set the HTMLBody of the mail. However, if the mail I open is present in Drafts folder, I can set the HTMLBody of the mail and the preview shown is fine. But if the mail is present in the Deleted Items folder, the HTMLBody property of the mail is set but the preview just doesn't show the updated content. Is there any way to refresh the preview? Or am I missing something?
Update 1:
I have a separate form region, for the mail item.
I have a draft on which I am working. Lets say, it's initial HTML content is A. Lets say, I am setting the HTMLBody property of the mail to B, after navigating to the form region. But I am not yet saving the mail. So when I navigate back to the mailbody, I can see the changes (mail body displays B) for the time being. Of course the changes will be lost if i don't save.
But, now I delete the draft, so that it moves to Deleted Items folder. The HTML content is still A as it was not saved.. Now when I open this draft (from deleted items folder), and navigate to form, I set the HTMLBody property to B. But it doesn't show that change when I navigate back to the mail body. The mail body still shows A.(The inspector is still open, it's not closed) But when I check in my debugger, the HTMLBody property is set to B. Why?
You need to save the message (MailItem.Save), otherwise the changes are mot persisted. If the messages is moved to the Deleted Items folder, it is a physically different message, and it will not carry over any unsaved changes.

Send email on image click in joomla

hey I am new to joomla and I want to send an email to a user when an image is clicked(I got two images so a different mail for each)
how can it be done?
Create a hyperlink in Joomla on the image (click the image then the chain icon) and in the URL box, type mailto:email#domain.com and then when clicked it will open the default mail editor with the recipient box filled... is that kind of what you needed?

Include an image into a "mailto" mail?

The title might not be clear - I'm creating an app in Unity and I want it to start the device's default mail client to create a new mail. I can easily do that with mailto. What I don't know how to do is include an image in the mail being composed. In any way: as an attachment, as a part of the mail body or whatever. But it's a local image, so I can't just put a link to it in the mail.
Is it even possible? If so, how?
I doubt if you can do it as the mailto page doesn't mention this as one of the parameters.
At best you can add body and subject.No attachments I suppose
See http://www.faqs.org/rfcs/rfc2368.html
However a hack you can try is in the body that you include
add <img src="your image src"> and hopefully the mail client will recognise this as html markup and render the image when the client opens up.
I haven't tried this though.

using ckEditor to send emails, problem with images

I'm using the ckEditor (http://docs.cksource.com/CKEditor_3.x).
my goal is to send the the text entered as an email message.
I get the contents of the editr as suggested in the docs:
var message = CKEDITOR.instances.editor1.getData();
then send the message to a webmethod on the server side, and it sends ok.
the problem is: the images are added as an img tag, and get the local directory address, so it cannot be viewed on the recipients side.
how can I add the images to the email message?
thanks in advance!
You need to use a file uploader. CKFinder integrates nicely with CKEditor. Free for demo use (and open source projects I think), but about $70 for commercial use.

Resources