What tutorials would you like to see?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

What tutorials would you like to see?

Post by Chris Corbyn »

If you're playing around with the release candidates you may have noticed I'm in the process of scribbling notes/documentation in the wiki.

While I'm at it... does anybody have any requests for what tutorials should be included? I have so far:

Basic sending
Multipart sending
Attachments
Including Cc, Bcc
Batch sending (newsletters)

I know "How to write a contact form" is going to come up so I'll throw that in. Any others?

:)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Seems to cover the primitives pretty much everything else would be based on.

Would multi-part cover sending of html emails with graphics included? That's the only other topic I could think of that may crop up.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Well, come to think of it, I haven't actually explained how you'd do something like send a HTML email with an image in no... My problem is that I assume people will just try the obvious approach and put <img .. /> in the email but I guess it's worth mentioning.

Embedded images certainly need a mention, cheers for the nudge on that.
jbh
Forum Commoner
Posts: 89
Joined: Tue Dec 05, 2006 7:01 pm

Post by jbh »

A confirmatoin on the most resource friendly way to personalize through a large list (though I was able to get it to work in the earlier version, using a loop one at a time, with the anti-flood plugin, it worried me) AND use variable for the $to info

Doing that would set this above anything else and leave a flood of donations IMHO

Thank you
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

You also use a loop in v3, but I've built the whole Message Object in v3 which does a great deal of caching, on the smallest units of the email it can. If something changes (e.g. The subject) it only re-renders that component and doesn't go near anything else. I'll make a tutorial on it. I will make a template plugin like there was in v2 but it will probably only be doing the same thing ;)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Just curious (off topic - my apologies)

But accepting donations for SwiftMailer...would it pay the bills or is it just enough to cover hosting and some development costs?

How much do you ring in a month if you don't min me asking?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I'm getting zilch at the moment. I've had $20USD since xmas... literally.

When I had my Mac fund going I got over £400 (about $700USD?) in roughly 5 months. It wouldn't pay the bills no :P
jbh
Forum Commoner
Posts: 89
Joined: Tue Dec 05, 2006 7:01 pm

Post by jbh »

Well, I'll try to help change that. There are people screaming at me (not literall) to have a solution like yours in my software. I will certianly donate over time.

One can't make guarantees, but I'd at least make an effort to make people conscious of it.

I'd gladly pay $20/30 to know how to use the new version for a resource friendly bulk perosnalization to those who opt-in for my site/software
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

any word on that batch sending tutorial? I need to send out a newsletter and allow my client to write an email that is sent to like 200-1000 people. That shouldn't be too difficult, right?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Nope sorry nothing yet. I probably won't get time later, but basically it's quite simple yeah. Do you want to get all 1000 out in one page request? I may hold out until the new document manager is finished (2 days?) since once that's done I can pretty much launch the new site as the other bits can be added in like 10 mins :P

If you're looking for message customization, take a look at the decorator plugin in the plugin section of the wiki. I'm seriously gonna sort all that documentation out asap :oops:
Post Reply