Ich sende E -Mails von Laravel 11 App über SMTP (sendGrid) und sehe sie in Google Mail an. < /p>
Meine HTML -E -Mail verfügt
< /code>
Wenn ich jedoch in Google Mail auf "Original anzeigen" klicke und sowohl Text- als auch HTML-Versionen der E-Mail überprüfe, sehe ich andere Codierungen: < /p>
Entweder "ISO-8859-1" < /p>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
...plain text email...
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
...html email...
< /code>
oder "US-ascii": < /p>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
...plain text email...
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
...html email...
< /code>
Ich möchte, dass alles natürlich alles ist. Alle von LLMs angegebenen Ratschläge sind Halluzinationen oder Code aus früheren Laravel -Versionen.$payload = [
'url' => route('login.verify', ['token' => $token]),
];
Mail::to($user->email)->send(new EmailOTP($payload));
< /code>
Ich sende E -Mails von Laravel 11 App über SMTP (sendGrid) und sehe sie in Google Mail an. < /p> Meine HTML -E -Mail verfügt < /code> Wenn ich jedoch in Google Mail auf "Original anzeigen" klicke und sowohl Text- als auch HTML-Versionen der E-Mail überprüfe, sehe ich andere Codierungen: < /p> Entweder "ISO-8859-1" < /p> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable ...plain text email... Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable ...html email... < /code> oder "US-ascii": < /p> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable ...plain text email... Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable ...html email... < /code> Ich möchte, dass alles natürlich alles ist. Alle von LLMs angegebenen Ratschläge sind Halluzinationen oder Code aus früheren Laravel -Versionen.$payload = [ 'url' => route('login.verify', ['token' => $token]), ]; Mail::to($user->email)->send(new EmailOTP($payload)); < /code>
Ich hoffe, diese Frage ist hier in Ordnung, da sie meine Verwendung für Google Calendar API ersetzen könnte. Ich denke, es sollte in Ordnung sein. automatisch. Ich verwende derzeit die Kalender -API,...
Ich verwende die Google Mail -API, um E -Mails mit PDF -Anhängen aus meinem Django -Backend zu senden, aber der Anhang wird nicht in der E -Mail angezeigt - nur der E -Mail -Körper wird empfangen....
Dies ist mein erstes Projekt in Spring Boot (Noob), ich wollte diesen Google Mail -Senden -Dienst erstellen, ich habe Code von einem Repository erhalten, aber es funktioniert nicht, ich habe...