Questions tagged [html-email]
HTML used to format emails.
4,702
questions
1
vote
0
answers
24
views
WSO2 EI6.6 : Send email with attachment and HTML body
I am trying to send an email with attachment from WSO2EI6.6. The code is working as expected when I tried with some text as email body. When I tried to send HTML content, it is not working as expected....
0
votes
0
answers
14
views
Amazon simple email service converts html tags
I have a java application that uses Amazon SES for email.
The email template is constructed within the Java application.
I needed to add a image link to the email template and I added a standard email ...
-1
votes
1
answer
20
views
How to send data to email through contact form
I'm trying to send a message to an email like in this code, once you click on "Enviar", your message goes to your email with the name, email and message info. I'm using this provider but it'...
0
votes
0
answers
27
views
How to create a button that let you send a email
I'm trying to create a button that once you click on it, it lets you send an email to the email you add to the code, I tried "mailto" but its not working. Here the code:
<div class="...
0
votes
0
answers
32
views
HTML tags not showing where they should be
I'm writing an html email and for some reason when I display it onto the browser, the inspector tool shows that the HTML is written differently than I how I wrote it.
How I wrote the html:
<td ...
0
votes
1
answer
16
views
Office365 email signature - conditionally show HTML if tag contains a value
I'm adding a company wide email signature in the Office 365 Admin area under Rules - Mailflow > Apply Disclaimers. I am then using their tags such as %%FirstName%% and %%LastName%% to insert the ...
0
votes
0
answers
37
views
How to make an image with link center in email? [closed]
I'm trying to center an image in email, not a browser but couldn't make it work (confirmed by a user as not working in: Outlook desktop for Windows, Gmail apps, Outlook apps, and webmails Gmail, ...
0
votes
3
answers
39
views
Draft emails with email signature
i am trying to send emails through excel and keep the email signature i am able to either save .body as text withough the image or insert the image through .HTMLbody but this messes up the text format ...
0
votes
0
answers
39
views
Outlook: Links don't work at random in HTML Emails
I have a pretty simple unordered list with some links in an html email that generated by a server. It looks and works as expected in most email clients (gmail, apple mail, outlook web), but in Outlook ...
1
vote
2
answers
36
views
can't reduce the table height using media queries
I have a table with height = 100px, a td with height 20px, and two tdd width height = 50% (40px each)
I want to reduce the height to 80px on mobile screens, no change for the 20px, and want the 50% ...
0
votes
1
answer
31
views
Collapse email columns on mobile view without code duplication
The goal is to have 2 diferrent email layouts - one for mobile and one for desktop. The desktop version has 2 columns and in the mobile version the content should collapse to only 1 column (like in ...
1
vote
1
answer
22
views
Email template Outlook margin and padding not working try to separate social media icons
I'm trying to align center these icons but some outlook emails do not show the right styling some other scenarios work fine but these ones are not working as expected I've been trying several ...
-1
votes
0
answers
24
views
Creating HTML graph chart which can be emailed within body of email [closed]
I am looking for idea and help creating below report in HTML and that can be put in body of email. Or past as image of chart in email body. Does anybody have done so and willing to share their code ?
1
vote
0
answers
20
views
Image inside email signature - Outlook email
I would like to generate Outlook email drafts (.eml files) with the following code. I am able to generate these drafts, however, I am unable to embed/link a logo (png image/external link) under the ...
1
vote
0
answers
47
views
Whats the purpose of the <!--[if !gte mso 9]> conditional comment?
I saw this conditional statement in an email campaign: <!--[if !gte mso 9]>
Does !gte equals to lt?
E.g. Does this statement simply means that it targets mso clients < version 9?
0
votes
0
answers
23
views
I want to create an signature in Outlook using SVGs that change fill colors based on dark or light mode. Is this even possible?
I am tasked with creating email signatures for Outlook. I have found that the easiest way is to create a table in Word and paste it into the signature editor. I wrote one in html, but I found that I ...
0
votes
0
answers
47
views
Sent html email using gmail API, it appears in "chinese" on apple mail client
I am sending emails using the Gmail NodeJS API using these code snippet (leaving auth out of it)
const headers: any = {
'To': event.to,
'Subject': event.subject,
...
0
votes
1
answer
48
views
CSS: How to customize fonts in an email?
I'm trying to set a customized font to an email. In the HTML of the email I have added the fonts with this code:
<head>
<style>
/* latin-ext */
@font-face {
...
2
votes
2
answers
51
views
Vertical alignment not working as expected in HTML [duplicate]
I'm creating an HTML email signature and for some reason I'm having an issue with aligning an image and some text in the middle vertically. I am looking at my signature by opening the HTML in Chrome/...
0
votes
1
answer
13
views
html email template hairlines
I have an email template with different block background colors, and because of this the colors are bleeding and creating lines between the blocks
I tried all the solutions I found and nothing worked, ...
0
votes
1
answer
39
views
Email body contents get jumbled up if below html emailed
I am processing raw data with powershell then populating hash tables. Then i am generating report out of hash table. I am generating HTML file as a report. This HTML file looks well if i use any ...
0
votes
2
answers
63
views
Modern HTML WYSWYG Editor for ASP.Net Web Forms application
I'm looking for some kind of HTML WYSWYG editor solution for an ASP.Net Webforms application. We currently use AjaxToolkit, but it doesn't support pasting images, is not really accessible, etc. I ...
1
vote
1
answer
27
views
Email body content jumbled if report has nested tables in it
I am processing raw data with powershell then populating hash tables. Then i am generating report out of hash table. I am generating HTML file as a report. This HTML file looks well if i use any ...
0
votes
0
answers
25
views
Dynamic iCal link
I would like to create a iCal file which I will be using as a link in one of my emails. The links will be as follows "Remind me tomorrow" and "Remind me in 3 days". So essentially ...
1
vote
0
answers
34
views
Media Query not supporting in GMail [duplicate]
@media screen and (min-width: 768px) {
.emailWidth {
width: 60% !important;
}
.logo {
width: ...
0
votes
0
answers
54
views
Can't send a email with python
I'm trying to email a response back the user but I can't get it to work. I'm using email.mime.text and smtplib, libraries. No error is showing in the terminal, but I'm not receiving any email.
Here is ...
1
vote
1
answer
56
views
the best way to handle dark mode logos in html emails
am designing a html email template that supports dark mode for all email clients but am facing a problem with the logo.
The logo is a black .png image and the default/light background is white, so in ...
0
votes
1
answer
41
views
Html email is getting unresponsive in gmail crome browser, works fine in gmail app and console in google desktop
I am creating this email html template the html works responsively in google console and gmail mobile app, but gets distorted in mobile chrome gmail version.
This image is the mobile responsiveness ...
0
votes
1
answer
36
views
Gmail www. vs. iOS and the background-clip: text; CSS property
I am in the middle of designing an HTML email, with the goal of it being fully compatible across email clients and light/dark mode.
I have made a lot of progress with this design system but I am ...
0
votes
1
answer
55
views
Images not appearing in Outlook account of email sent with ASP.NET Core MVC
I am trying to send mail in my ASP.NET Core MVC project. The mail is being sent successfully. But in my "Outlook" account, the picture I added to the image of the mail does not appear. When ...
0
votes
1
answer
40
views
php open link with image in the same window
I am opening a link with an image, but I want to ensure that the link always opens in the same page, here is my code
echo "<a href=\"/mysite.com/$directory/$dir/$line\"><img ...
0
votes
0
answers
32
views
Email Verification link not working when clicked, but works when pasting the link url itself
I have a verification email that is sent out to users that sign up for a website I have developed. When the user signs up I send them an HTML email that has an anchor tag (hyperlink) <a href="...
0
votes
2
answers
46
views
Outlook Desktop Background Images
Is there any WORKING example of an email that will show a background image?
Even "bulletproof" VML solutions won't really work, ex:
https://codepen.io/palak-tal/pen/eYWggYa
How make ...
0
votes
1
answer
29
views
How to remove outline with img tag in Outlook application
I'm having an issue with the outlook application.
One thin line shows above and below the img tag. I have highlighted
the line in the screenshot.
I have attached the screenshot in which the thin ...
0
votes
1
answer
31
views
Email template - Background image with text overlay at Center location
I'm building a HTML-mail where should be an image with a number on top of it. So far I have added the image as a td-background with a nested table to position the text. It looks good in most email ...
0
votes
0
answers
45
views
A simple way to remove newlines (line breaks) between CSS selectors
With gulp-beautify I'm optimizing files containing CSS for email, which means they can't have newlines between selectors, since there is a limit on the total number of lines allowed in some email ...
0
votes
0
answers
37
views
Adding an image to an email template [duplicate]
I just want to embed a url in an email template. Other questions here implied that sharing the image and then linking to it like this would work:
<img src="https://drive.google.com/uc?id=...
0
votes
2
answers
25
views
Problem css; round circle over component - Email template
I need to put a circle on a card for a mailing
but I can't put styles like these for mailing:
position: absolute;
left: 50%;
transform: translateX(-58%) translateY(-75%);
I opted to use margin-top ...
0
votes
0
answers
14
views
Why does my dark mode logo display when viewing email using iCloud.com's Mail client only?
I have light and dark mode versions of my logo, with light mode set as the default. When I view my email on iCloud.com's Mail app, the dark mode version of my logo, which is all white, displays. With ...
0
votes
0
answers
125
views
EmailJs is not sending email by React
I hope you are doing great, I am using Emailjs in React to get Emails. I configure Emailjs and it is properly sending test Emails but when I am trying to send from my project so it's not sending and ...
1
vote
1
answer
124
views
How to remove data-saferedirecturl from email which is added automatically
I am sending email using php with download link to an exe file. But gmail adds data-saferedirecturl attribute to anchor tag which does not allows to download the file. If the url if copied paste in ...
0
votes
0
answers
29
views
Outlook desktop app is not showing button included in html email body
I am trying to include button in my html emailbody. Button is rendering fine on outlook web. However, its not rendering in outlook desktop app and just shows empty space.
<a href="{{testLink}}&...
0
votes
1
answer
66
views
How can i build a simple responsive footer for my sendgrid template?
I have a basic footer that would be super easy to create in almost any environment but email.
i am looking to do a email/phone/unsubscribe line to appear like
"email@email.com | 1-888-PHONENO (1-...
0
votes
1
answer
37
views
How can I use MimeMessageHelper to send HTML template emails?
How do I alter below code to send emails with body as HTML templates? What I tried was changing mimeMessageHelper.setText() method to mimeMessageHelper.setContent() and apparently that doesn't work. I'...
0
votes
1
answer
53
views
The inline style is not working when I tried to attached as e-mail content
I just created simple html table and Opened in the browser which looks like below:
browser view: (Expected One)
HTML:
<html>
${imageHeader}
<body>
<div>
<br&...
0
votes
0
answers
27
views
Outlook Media Queries
Outlook 2007,outlook 2010, outlook 2013, outlook 2016,outlook windows10.
For email media queries which can be check
I have work in our company they send screenshot of which device of the email ...
0
votes
1
answer
39
views
Working with customer-processing-order.php WooCommerce email template img tags
I've been building myself a custom email template but as it turns out the email template doesn't support img tag
https://www.caniemail.com/search/?s=img
<img src="<?= ...
0
votes
2
answers
144
views
Images are not visible in preview in email studio
When I am trying to preview a HTML email in the email studio preview , it shows empty images but email looks fine in the INBOX.
Image size is width:600px and height:338px
Please help to resolve this ...
1
vote
1
answer
62
views
how to download email attachment with selenium python? [duplicate]
This is the html for the download part of the page:
<ul id="attachment-list" class="attachmentslist"><li class="application vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx" id="...
1
vote
1
answer
63
views
Is the attribute selector syntax for class names necessary in HTML emails in 2022?
I have an old email template contributed to by several people and it uses an attibute selector to select the class attribute value in addition to the normal class selector.
*[class=hide], .hide {
...