<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SmartDukaan &#x2013; //trunk/profitmandi-dao/src/main/resources/sql/migration_mail_outbox_sendgrid_to_relay.sql</title><description>WebSVN RSS feed &#x2013; SmartDukaan</description><lastBuildDate>Wed, 07 Oct 2026 16:57:16 +0530</lastBuildDate><generator>WebSVN 2.8.6-DEV</generator><language>en</language><link>https://svn.smartdukaan.com/log.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fresources%2Fsql%2Fmigration_mail_outbox_sendgrid_to_relay.sql&amp;max=40&amp;</link><atom:link href="https://svn.smartdukaan.com/rss.php?path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fresources%2Fsql%2Fmigration_mail_outbox_sendgrid_to_relay.sql&amp;repname=SmartDukaan" rel="self" type="application/rss+xml" />
<item><pubDate>Mon, 31 Aug 2026 18:11:23 +0530</pubDate><dc:creator>amit</dc:creator><title>Rev 37483 – mail: migrate mail_outbox SENDGRID rows to RELAY (applied to production) ...</title><description>&lt;div&gt;&lt;strong&gt;amit – 2 file(s) modified&lt;/strong&gt;&lt;br/&gt;mail: migrate mail_outbox SENDGRID rows to RELAY (applied to production)&lt;br /&gt;
&lt;br /&gt;
SENDGRID never meant SendGrid -- resolveSender() already routed it to the&lt;br /&gt;
Workspace relay, which is why outbox mail kept being delivered while direct&lt;br /&gt;
JavaMailSender injections failed against the real, dead SendGrid bean. So this&lt;br /&gt;
relabels rows without changing where anything is sent.&lt;br /&gt;
&lt;br /&gt;
Applied to hadb1 2026-08-31 18:10 IST:&lt;br /&gt;
  before  SENDGRID=5956  RELAY=0     GOOGLE=4896  (total 10852)&lt;br /&gt;
  after   SENDGRID=0     RELAY=5956  GOOGLE=4896  (total 10852)&lt;br /&gt;
  backup  dtr.mail_outbox_sendgrid_backup_20260831_1810 (5956 rows)&lt;br /&gt;
&lt;br /&gt;
The one PENDING row (id=26838) migrated cleanly and still routes to the relay.&lt;br /&gt;
Only GOOGLE and RELAY remain in the column. Rollback statement is in the script.&lt;br /&gt;
&lt;br /&gt;
The comment claiming legacy SENDGRID rows exist is now false and has been&lt;br /&gt;
corrected; SendGrid appears nowhere in the codebase.&lt;/div&gt;~ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/mail/MailOutboxService.java&lt;br /&gt;+ /trunk/profitmandi-dao/src/main/resources/sql/migration_mail_outbox_sendgrid_to_relay.sql&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fresources%2Fsql%2Fmigration_mail_outbox_sendgrid_to_relay.sql&amp;rev=37483</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-dao%2Fsrc%2Fmain%2Fresources%2Fsql%2Fmigration_mail_outbox_sendgrid_to_relay.sql&amp;rev=37483</guid></item>
</channel></rss>