This topic is locked

HTML Email

11/13/2021 10:42:29 PM
PHPRunner General questions
O
oermops author

I would like to send email from my database and would like some advice. I've found the link below (second part) which is a start, but it can only send emails in plain text.

https://xlinesoft.com/phprunner/docs/email_selected_users.htm

Ideally, I'd like to be able to send HTML emails to selected users in my database for a mailing list (bold, italic, underline, links, etc.), preferably with the ability to send attachments too. Think of it as a Mailchimp-like newsletter, but without all the fancy templates.

Tandy 11/14/2021

Your best bet is to use the Mass Mailer. It can be found here: https://xlinesoft.com/massmailer

M
macalister 11/14/2021

Hi

You can do that, only changing body to htmlbody in the array element. you can check that in the manual.

Send HTML email

O
oermops author 11/15/2021

@Tandy -- Mass Mailier is not a solution for this issue. It is best for situations that have automated queries (which I use to automatically send notifications from the personnel database when credentials, tests, and classes have expired), but not when the sender has a different Subject, Body, and recepients for each message.

@macalister -- Thank you! I'll edit the code as soon as I can find the time to do so.

Now if somehow I can include file attachments in my messages things would be perfect. Any and all assistance would be appreciated. I am grateful for all the help I can receive.

admin 11/15/2021

The same thing in regards to the attachments, the manual comes with the example of attaching files.