[{"data":1,"prerenderedAt":645,"buildId":646},["ShallowReactive",2],{"\u002Fblog\u002Flaravel-rust-email":3,"\u002Fblog\u002Flaravel-rust-email-surround":634},{"id":4,"title":5,"authors":6,"badge":12,"body":14,"date":623,"description":624,"extension":625,"image":626,"meta":628,"navigation":309,"path":629,"seo":630,"stem":631,"updatedAt":632,"__hash__":633},"posts\u002Fblog\u002Flaravel-rust-email.md","Laravel Rust Email: Keep Resend and Read the Replies",[7],{"name":8,"to":9,"avatar":10},"Rares Serban","\u002Fabout",{"src":11},"\u002Fimages\u002Frares-serban.jpg",{"label":13},"Guide",{"type":15,"value":16,"toc":608},"minimark",[17,33,47,52,65,68,98,110,133,144,148,162,165,172,180,183,187,190,226,229,232,239,243,257,287,375,414,424,428,441,470,473,480,487,491,496,513,517,534,538,544,548,554,558,583,587,604],[18,19,20,21,25,26,29,30,32],"p",{},"Laravel Rust email is the transactional mail your app sends through the first-party Resend mailer, or through SES, the ",[22,23,24],"code",{},"log"," mailer or failover. Replies still go to the From address, or to Reply-To if you set ",[22,27,28],{},"reply_to",", and they need an inbox behind that address. Keep Resend for sending, point the reply domain's MX at Mailyond (a reply subdomain if the apex already receives mail), and read and answer the replies there. The send code stays the same, apart from a ",[22,31,28],{}," on your messages if the replies go to a subdomain. If you'd rather send through Mailyond too, you can point the first-party Resend transport at it, which I cover below.",[18,34,35,36,43,44,46],{},"Laravel for Rust shipped its first beta on 1 December 2026 (",[37,38,42],"a",{"href":39,"rel":40},"https:\u002F\u002Flaravel.com\u002Fblog\u002Fintroducing-laravel-for-rust",[41],"nofollow","Taylor Otwell's announcement","), and mail is in it from the start: \"Laravel ships with first-party Resend and Amazon SES transports, mailer failover, attachments, and a local ",[22,45,24],{}," mailer for development.\" So sending from Laravel Rust is covered. Where the replies end up is the part I'd check before you ship.",[48,49,51],"h2",{"id":50},"what-laravel-rust-ships-for-mail","What Laravel Rust ships for mail",[18,53,54,55,60,61,64],{},"The ",[37,56,59],{"href":57,"rel":58},"https:\u002F\u002Flaravel.com\u002Frust\u002Fdocs\u002Fmail",[41],"mail docs"," (version 0.x, read on 1 December 2026) say ",[22,62,63],{},"laravel::mail"," sends transactional email, like order confirmations and password resets, through Resend, Amazon SES or a custom transport. There's no SMTP transport bundled.",[18,66,67],{},"You pick from four mailers:",[69,70,71,78,87,92],"ul",{},[72,73,74,77],"li",{},[22,75,76],{},"resend",", Resend's API",[72,79,80,83,84,86],{},[22,81,82],{},"ses",", Amazon SES, which needs the ",[22,85,82],{}," Cargo feature",[72,88,89,91],{},[22,90,24],{},", the default, for local development (it sends nothing)",[72,93,94,97],{},[22,95,96],{},"failover",", which tries mailers in order (the built-in order is Resend, then SES)",[18,99,100,103,104,106,107,109],{},[22,101,102],{},"MAIL_MAILER"," defaults to ",[22,105,24],{},", so nothing goes out until you change it. The docs make the case for Resend: it \"needs only an API key and no Cargo feature, so it's the shortest path from the ",[22,108,24],{}," mailer to real email.\" Their example is two lines:",[111,112,117],"pre",{"className":113,"code":114,"language":115,"meta":116,"style":116},"language-ini shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","MAIL_MAILER=resend\nRESEND_API_KEY=re_123\n","ini","",[22,118,119,127],{"__ignoreMap":116},[120,121,124],"span",{"class":122,"line":123},"line",1,[120,125,126],{},"MAIL_MAILER=resend\n",[120,128,130],{"class":122,"line":129},2,[120,131,132],{},"RESEND_API_KEY=re_123\n",[18,134,135,136,139,140,143],{},"The docs also show ",[22,137,138],{},"MAIL_FROM_ADDRESS"," and ",[22,141,142],{},"MAIL_FROM_NAME"," for the From. Pick that address with replies in mind, because that's where they go unless you set a Reply-To.",[48,145,147],{"id":146},"where-replies-to-laravel-rust-email-go","Where replies to Laravel Rust email go",[18,149,150,151,153,154,157,158,161],{},"A reply goes to the From address, or to Reply-To if you set one. In Laravel Rust you set it with the ",[22,152,28],{}," method on ",[22,155,156],{},"Message",", which the docs describe as \"Addresses that replies go to\", or with the ",[22,159,160],{},"#[mail(reply_to)]"," field attribute.",[18,163,164],{},"None of the mailers handle replies. The mailer sends your message, and the customer's reply is a new email from their mail server, which goes wherever the MX for that address points. Failover doesn't change it either: whether Resend or SES sent the message, the reply goes to the same From or Reply-To.",[18,166,167,168,171],{},"So whichever address it is, it needs an MX record that points at an inbox someone reads. If you send from a subdomain like ",[22,169,170],{},"updates.example.com",", that name often has no inbox, and that's the usual reason replies disappear. The customer writes back, the reply bounces, and you never see it.",[18,173,174,175,179],{},"The general Resend path (what Resend receives and how) is in ",[37,176,178],{"href":177},"\u002Fblog\u002Fwhere-do-resend-replies-go","where Resend replies go",". Resend can receive replies itself, and Resend Inboxes is open to everyone now, with 3 on every plan and $1 per inbox a month after that on paid plans. For one domain and up to 3 addresses, that costs you nothing extra.",[18,181,182],{},"I built Mailyond for the other case: many domains, every address on them in one inbox, and you keep the sender you already use.",[48,184,186],{"id":185},"keep-resend-read-replies-on-the-same-domain","Keep Resend, read replies on the same domain",[18,188,189],{},"This is the setup I'd use with Laravel Rust:",[191,192,193,199,211,214,223],"ol",{},[72,194,195,196,198],{},"Pick the reply name. That's the domain of your From address, or of a ",[22,197,28],{}," address if you set one.",[72,200,201,202,205,206,210],{},"Check if that name already receives mail. If the apex already has an MX (Google Workspace, say), use a subdomain like ",[22,203,204],{},"reply.example.com"," so the mail on the apex keeps working. ",[37,207,209],{"href":208},"\u002Fblog\u002Femail-on-subdomain","Email on a subdomain"," walks through it.",[72,212,213],{},"Connect the name in Mailyond. It's one 5-minute DNS setup with 3 records: a DKIM TXT, a Return-Path CNAME and an MX.",[72,215,216,217,219,220,222],{},"Leave your Laravel Rust send code alone if the From domain is the one you connected. If you connected a reply subdomain, set ",[22,218,28],{}," (or ",[22,221,160],{},") to an address on it.",[72,224,225],{},"Test a reply. Send from your app to a personal Gmail address, reply from Gmail, and answer it in Mailyond.",[18,227,228],{},"The 3 records don't sit on the names Resend uses for sending, so Resend stays verified and keeps sending as before. Replies for that domain land in Mailyond next to every other domain you connect, and you answer from the address the customer wrote to.",[18,230,231],{},"Mailyond is from $10\u002Fmonth: Basic is $10 for 5 domains, Pro is $20 for 10, and Agency is $40 for 30. Basic and Pro come with a 7-day free trial.",[18,233,234,238],{},[37,235,237],{"href":236},"\u002Fsignup","Try it on one domain, free for 7 days",".",[48,240,242],{"id":241},"send-through-mailyond-with-endpoint","Send through Mailyond with endpoint()",[18,244,245,246,248,249,252,253,256],{},"If you want sends and replies in one place, you can send through Mailyond as well, with the same first-party ",[22,247,76],{}," mailer. Laravel Rust's own ",[22,250,251],{},"Resend"," config builder has an ",[22,254,255],{},"endpoint()"," method, and its doc comment says it \"Sends requests to another origin, such as a proxy.\" Mailyond's send API takes the same request the transport already makes. Tested on 2 December 2026 on a fresh Laravel Rust 0.1.4 app (Rust 1.100.1): the email arrived with SPF, DKIM and DMARC passing, and the reply was read back through Mailyond's inbox API.",[18,258,259,260,263,264,267,268,271,272,275,276,279,280,282,283,286],{},"There's no env var for the origin (",[22,261,262],{},"Resend::from_env"," only reads ",[22,265,266],{},"RESEND_API_KEY",", and the default is ",[22,269,270],{},"https:\u002F\u002Fapi.resend.com","), so this goes in a config file. Create ",[22,273,274],{},"src\u002Fconfig\u002Fmail.rs",", start from ",[22,277,278],{},"Mail::from_env",", and replace the default ",[22,281,76],{}," mailer, since ",[22,284,285],{},"add_mailer"," with the same name replaces it:",[111,288,292],{"className":289,"code":290,"language":291,"meta":116,"style":116},"language-rust shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","use laravel::config::mail::{Mail, Resend};\nuse laravel::config::{self, Env};\n\n#[config::section]\nfn mail(env: &Env) -> Mail {\n    let mut mail = Mail::from_env(env);\n\n    mail.add_mailer(\n        \"resend\",\n        Resend::from_env(env).endpoint(\"https:\u002F\u002Fmailyond.com\u002Fapi\u002Fexternal\"),\n    );\n\n    mail\n}\n","rust",[22,293,294,299,304,311,317,323,329,334,340,346,352,358,363,369],{"__ignoreMap":116},[120,295,296],{"class":122,"line":123},[120,297,298],{},"use laravel::config::mail::{Mail, Resend};\n",[120,300,301],{"class":122,"line":129},[120,302,303],{},"use laravel::config::{self, Env};\n",[120,305,307],{"class":122,"line":306},3,[120,308,310],{"emptyLinePlaceholder":309},true,"\n",[120,312,314],{"class":122,"line":313},4,[120,315,316],{},"#[config::section]\n",[120,318,320],{"class":122,"line":319},5,[120,321,322],{},"fn mail(env: &Env) -> Mail {\n",[120,324,326],{"class":122,"line":325},6,[120,327,328],{},"    let mut mail = Mail::from_env(env);\n",[120,330,332],{"class":122,"line":331},7,[120,333,310],{"emptyLinePlaceholder":309},[120,335,337],{"class":122,"line":336},8,[120,338,339],{},"    mail.add_mailer(\n",[120,341,343],{"class":122,"line":342},9,[120,344,345],{},"        \"resend\",\n",[120,347,349],{"class":122,"line":348},10,[120,350,351],{},"        Resend::from_env(env).endpoint(\"https:\u002F\u002Fmailyond.com\u002Fapi\u002Fexternal\"),\n",[120,353,355],{"class":122,"line":354},11,[120,356,357],{},"    );\n",[120,359,361],{"class":122,"line":360},12,[120,362,310],{"emptyLinePlaceholder":309},[120,364,366],{"class":122,"line":365},13,[120,367,368],{},"    mail\n",[120,370,372],{"class":122,"line":371},14,[120,373,374],{},"}\n",[18,376,377,378,381,382,385,386,389,390,392,393,396,397,399,400,402,403,406,407,410,411,238],{},"Then add ",[22,379,380],{},"mod mail;"," to ",[22,383,384],{},"src\u002Fconfig\u002Fmod.rs",". The env stays almost the same: keep ",[22,387,388],{},"MAIL_MAILER=resend",", set ",[22,391,266],{}," to a ",[22,394,395],{},"myond_"," key, and put ",[22,398,138],{}," on a domain you've connected in Mailyond. Set ",[22,401,142],{}," too, or a new app's ",[22,404,405],{},".env"," sends as ",[22,408,409],{},"Laravel",", its default ",[22,412,413],{},"APP_NAME",[18,415,416,417,139,420,423],{},"A few things don't carry over from Resend. Attachments by URL path are rejected (base64 ones work). A subject and an html or text body are required, so a message that uses a Resend template instead of a body is rejected, and Laravel leaves out an empty subject, which Mailyond rejects. Topics and tags are stripped, and ",[22,418,419],{},"List-Unsubscribe",[22,421,422],{},"List-Unsubscribe-Post"," are the only custom headers that pass through.",[48,425,427],{"id":426},"what-not-to-change","What not to change",[18,429,430,431,433,434,436,437,440],{},"If you keep Resend for sending, leave the Laravel Rust send code alone. If you send through Mailyond, the only change is mail config: ",[22,432,255],{},", a ",[22,435,395],{}," key and a From address on a domain you've connected. Your messages and ",[22,438,439],{},"mail::to(...)"," calls stay the same.",[18,442,443,444,447,448,451,452,455,456,459,460,462,463,466,467,469],{},"The first-party ",[22,445,446],{},"ResendTransport"," posts to ",[22,449,450],{},"{endpoint}\u002Femails"," through Laravel's own HTTP client (",[22,453,454],{},"crate::http::client::Client",", which is built on reqwest), and ",[22,457,458],{},"from_env"," reads ",[22,461,266],{},". There's no ",[22,464,465],{},"resend_rs"," import in it, and when you change the origin, ",[22,468,255],{}," is Laravel's own builder too.",[18,471,472],{},"So you don't need the resend-rs crate or any other Resend SDK to send, and there's nothing extra to add to Cargo.toml for Mailyond.",[18,474,475,476,238],{},"Sending with Postmark or SES on other projects? The same reply-name pattern works there, covered in ",[37,477,479],{"href":478},"\u002Fblog\u002Fno-reply-email","no reply email",[18,481,482,483,238],{},"One shortcut I'd skip: forwarding replies into Gmail and answering with Send-as. It usually fails DMARC, which I go through in ",[37,484,486],{"href":485},"\u002Fblog\u002Freply-to-email-from-custom-domain","how to reply from a custom domain",[48,488,490],{"id":489},"faq","FAQ",[492,493,495],"h3",{"id":494},"does-laravel-rust-send-email","Does Laravel Rust send email?",[18,497,498,499,501,502,103,504,506,507,509,510,512],{},"Yes. ",[22,500,63],{}," sends transactional email through Resend, Amazon SES or a custom transport. ",[22,503,102],{},[22,505,24],{},", which sends nothing, so set it to ",[22,508,76],{}," with a ",[22,511,266],{}," to send real email.",[492,514,516],{"id":515},"which-mailers-does-laravel-for-rust-include","Which mailers does Laravel for Rust include?",[18,518,519,521,522,524,525,527,528,530,531,533],{},[22,520,76],{},", ",[22,523,82],{}," (behind the ",[22,526,82],{}," feature), ",[22,529,24],{}," (the default) and ",[22,532,96],{},", which tries mailers in order, Resend then SES. There's no SMTP transport bundled.",[492,535,537],{"id":536},"where-do-replies-to-laravel-rust-email-go","Where do replies to Laravel Rust email go?",[18,539,540,541,543],{},"To the From address, or to the Reply-To if you set one with ",[22,542,28],{},". If that name has no MX pointing at an inbox, the reply bounces or goes unread.",[492,545,547],{"id":546},"can-i-keep-resend-and-read-replies-somewhere-else","Can I keep Resend and read replies somewhere else?",[18,549,550,551,553],{},"Yes. Keep Resend for sending and point the reply name's MX at another inbox, like Mailyond. Your send code stays the same, apart from ",[22,552,28],{}," if the replies go to a subdomain.",[492,555,557],{"id":556},"can-i-send-laravel-rust-email-through-mailyond-instead-of-resend","Can I send Laravel Rust email through Mailyond instead of Resend?",[18,559,560,561,563,564,566,567,570,571,381,573,575,576,389,578,392,580,582],{},"Yes. Create ",[22,562,274],{},", replace the ",[22,565,76],{}," mailer there with ",[22,568,569],{},"Resend::from_env(env).endpoint(\"https:\u002F\u002Fmailyond.com\u002Fapi\u002Fexternal\")",", and add ",[22,572,380],{},[22,574,384],{},". Keep ",[22,577,388],{},[22,579,266],{},[22,581,395],{}," key, and send from an address on a domain connected in Mailyond.",[492,584,586],{"id":585},"do-i-need-the-resend-rs-crate","Do I need the resend-rs crate?",[18,588,589,590,592,593,595,596,139,598,600,601,603],{},"No. Laravel Rust's ",[22,591,446],{}," is first-party: it posts to ",[22,594,450],{}," through Laravel's HTTP client, which is built on reqwest. Set ",[22,597,388],{},[22,599,266],{}," and you're sending. If you point the origin at Mailyond, ",[22,602,255],{}," is first-party too.",[605,606,607],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":116,"searchDepth":129,"depth":129,"links":609},[610,611,612,613,614,615],{"id":50,"depth":129,"text":51},{"id":146,"depth":129,"text":147},{"id":185,"depth":129,"text":186},{"id":241,"depth":129,"text":242},{"id":426,"depth":129,"text":427},{"id":489,"depth":129,"text":490,"children":616},[617,618,619,620,621,622],{"id":494,"depth":306,"text":495},{"id":515,"depth":306,"text":516},{"id":536,"depth":306,"text":537},{"id":546,"depth":306,"text":547},{"id":556,"depth":306,"text":557},{"id":585,"depth":306,"text":586},"2026-12-01","Laravel Rust's first-party Resend mailer sends transactional email. Replies go to your From or Reply-To. Keep Resend, point the reply MX at Mailyond, and read them there.","md",{"src":627},"https:\u002F\u002Fimages.pexels.com\u002Fphotos\u002F574071\u002Fpexels-photo-574071.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",{},"\u002Fblog\u002Flaravel-rust-email",{"title":5,"description":624},"blog\u002Flaravel-rust-email","2026-12-02","rFi-tkSA_QvT93FONtGhuYVwvGNmL-n0FO6IXnmyOJ8",[635,640],{"title":636,"path":637,"stem":638,"description":639,"children":-1},"iCloud Custom Email Domain: Setup, Limits and Pricing","\u002Fblog\u002Ficloud-custom-email-domain","blog\u002Ficloud-custom-email-domain","iCloud+ hosts your own domain's email from $0.99 a month. Here's how to set it up, the real limits (5 domains, 1,000 sends a day) and when you outgrow it.",{"title":641,"path":642,"stem":643,"description":644,"children":-1},"MX Record Priority: What the Number Means, With Examples","\u002Fblog\u002Fmx-record-priority","blog\u002Fmx-record-priority","MX record priority sets the order senders try your mail servers. Lowest number first, ties share the load. Values for Google, Microsoft 365, Zoho and more.",1796294154429,"4ddbc627-6435-476f-96b4-4148e4eee12d"]