Sunday Skill Booster: How to setup SMTP mail in Blocs!

Definitely. Also multiple recipient as CC fields.

Not to forget an email design editor.

4 Likes

This Sunday is going to be good :joy:

Almost forgot… plain text email for those who are living in the dark age.

3 Likes

Lot of rain the next days. Hurry up @Jerry :sweat_smile:

2 Likes

Live stream using NZDT would be game changer.

1 Like

CC and BCC are quite simple to solve

$mail->addCC(‘cc@example.com’);
$mail->addBCC(‘bcc@example.com’);

a design editor is more effort, the mail should be responsive after all. Maybe you could use a BLOCS page with placeholders for it. But that will be more effort.

1 Like

$mail->Body = ‘This is the HTML message body in bold!’;
$mail->AltBody = ‘This is the body in plain text for non-HTML mail clients’;

//Attachments
$mail->addAttachment(‘/var/tmp/file.tar.gz’); //Add attachments
$mail->addAttachment(‘/tmp/image.jpg’, ‘new.jpg’); //Optional name

Yes. We were both joking around. Thanks though :grin:

1 Like

That only works if you add options in the sidebar.

2 Likes

A tip of the hat :tophat: to @Jannis and @PeteSharp for playfully escorting me back to my non-developer domain, where we all can revel in some light-hearted banter :crazy_face:. Oh, the challenge you’ve presented :student: :school:!

I may not be able to confirm a groundbreaking event this very Sunday :date: as my :coconut: :palm_tree: and a fancy catamaran :sailboat:trip are after me, but fear not! A monumental occasion is on the horizon, and it shall shake the very foundations of the challenge :volcano:!

2 Likes

Hey, I think I started this… :rofl: :joy: :wink:

1 Like

Is this how to add a simple toggle switch to the body? And how does the answer get back to the sender?

<p>Please make a choice:</p> 
<div class="toggle-container">
    <input type="checkbox" id="toggle-yes">
    <label for="toggle-yes" class="toggle-switch"></label>
    <label for="toggle-yes">Yes</label>
    <input type="checkbox" id="toggle-no">
    <label for="toggle-no" class="toggle-switch"></label>
    <label for="toggle-no">No</label>
  </div>

I am not sure if I understand the question correctly. With an assignment in PHPMailer to “AltBody” a text (only text) is deposited which is displayed in the cases if the receiver of the eMail does not like, can or wants HTML. HTML mails are sometimes blocked for security reasons.

Please do not confuse the “body” with the HTML body. It is about the mail content. If not, I have not understood the question.

It’s my misunderstand how simple stuff works. I was thinking if I add this I could use it as a simple toggle Yes / No and get a reply.

:tada: Hey, @Jannis and @PeteSharp! :tada:

:art::e-mail: Voilà, presenting to you an inaugural, simplistic, and chic email design. We haven’t quite reached the point of showcasing it in my “multiple awarded” :innocent: Sunday Skill Booster column, but rest assured, we’re on our way there! :rocket: Stay tuned for more! :spiral_calendar: :mantelpiece_clock:

3 Likes

What about a contextual reply email to the person who filled the form in, so confirming for support or enquires branded with fancy graphics.

:laughing:

1 Like

Or better yet, a common request, a drop down for departments, and the email gets sent to that person. :innocent:

No problem. All will be easy peasy soon.

1 Like

I’m using OSTicket for that. I’m lazy you know. :sunglasses: :palm_tree: :sunny: :parasol_on_ground: :man_swimming: :ocean:

https://osticket.com

1 Like

We got to the end. :rofl:

1 Like

We got you covered :grin::

1 Like