<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: okunade femi joel</title>
    <description>The latest articles on DEV Community by okunade femi joel (@phemehboy).</description>
    <link>https://dev.to/phemehboy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1769705%2F4cb5f112-47e8-4594-93a3-074e0119d432.jpeg</url>
      <title>DEV Community: okunade femi joel</title>
      <link>https://dev.to/phemehboy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/phemehboy"/>
    <language>en</language>
    <item>
      <title>Having problem with images and links in my react-mail and I have Img and Link imported from @react-email/components</title>
      <dc:creator>okunade femi joel</dc:creator>
      <pubDate>Fri, 27 Sep 2024 10:48:28 +0000</pubDate>
      <link>https://dev.to/phemehboy/having-problem-with-images-and-links-in-my-react-mail-and-i-have-img-and-link-imported-from-react-emailcomponents-2o53</link>
      <guid>https://dev.to/phemehboy/having-problem-with-images-and-links-in-my-react-mail-and-i-have-img-and-link-imported-from-react-emailcomponents-2o53</guid>
      <description>&lt;p&gt;My images and links are not working on development when using react email by resend. I used baseurl to get the images and the link but it is not working. I will be grateful if someone can help me on this.&lt;/p&gt;

&lt;p&gt;my baseurl is below:&lt;br&gt;
const baseUrl = process.env.VERCEL_URL&lt;br&gt;
  ? &lt;code&gt;https://${process.env.VERCEL_URL}&lt;/code&gt;&lt;br&gt;
  : "&lt;a href="http://localhost:3000" rel="noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt;";&lt;/p&gt;

&lt;p&gt;my Img is below:&lt;br&gt;
&lt;a href="" class="article-body-image-wrapper"&gt;&lt;img&gt;&lt;/a&gt;
                src={`${baseUrl}/assets/email/admin.png`}&lt;br&gt;
                width="40"&lt;br&gt;
                height="37"&lt;br&gt;
                alt="Docuee"&lt;br&gt;
                className="my-0 mx-auto"&lt;br&gt;
              /&amp;gt;&lt;br&gt;
my image is placed in "public/assets/email/admin.png"&lt;/p&gt;

&lt;p&gt;But it is not working in nextjs. Please help&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
