'getting default font even after setting other fonts type in AWS-Simple Email Service
I'm working on aws SES service and its working too but I don't liked the default font so I have used google font Poppins and Quicksand and it looks perfect in my local server but when I try to send it with ses on any email the font automatically changes to default one and also don't show my fonts but when I inspect it then the classes of each and every elements gets changed but I don't face any issues in that except this font problem.
i'm importing the fonts in this way
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Thank you</title>
<style>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400&display=swap");
</style>
<style>
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap");
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400&display=swap" rel="stylesheet">
i'm using them into CSS like this
.logo {
margin: 40px;
font-family: "Quicksand", sans-serif;
font-size: 28px;
}
.tq-txt {
font-family: "Poppins", sans-serif;
font-size: 50px;
text-align: center;
font-weight: 300;
}
this is the sample mail i received
but still get the default fonts in received mail i'm not getting that why its not working while sending mail to user. please help.....
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
