Search found 8 matches
- Wed Mar 11, 2009 8:38 am
- Forum: Swift Mailer
- Topic: Two questions for v4: setSender and setBody
- Replies: 5
- Views: 3181
Re: Two questions for v4: setSender and setBody
Great, updated and works perfectly now. Thanks again!
- Wed Mar 11, 2009 7:25 am
- Forum: Swift Mailer
- Topic: Two questions for v4: setSender and setBody
- Replies: 5
- Views: 3181
Re: Two questions for v4: setSender and setBody
Woops, sorry about that setSender mistake, I should have seen that one.
I'm "glad" the setBody one is a real bug though, sort of makes up for the setSender question
I'll wait for the new version, thanks again for the quick replies!
I'm "glad" the setBody one is a real bug though, sort of makes up for the setSender question
I'll wait for the new version, thanks again for the quick replies!
- Wed Mar 11, 2009 6:32 am
- Forum: Swift Mailer
- Topic: Two questions for v4: setSender and setBody
- Replies: 5
- Views: 3181
Two questions for v4: setSender and setBody
Hi Chris, As I wrote in a previous thread, I'm converting my scripts from v3 to v4. ----- setSender() ----- In v3, I could use the following: $message->headers->set('Sender', 'Domain.com <delivery@domain.com>'); In v4, this doesn't work, the setSender() method only accepts an email address like so: ...
- Wed Mar 11, 2009 5:01 am
- Forum: Swift Mailer
- Topic: No need to disconnect with version 4?
- Replies: 4
- Views: 2725
Re: No need to disconnect with version 4?
Good point Chris :) I already created my own wrapper for v3, so it wasn't hard to change to v4 at all. In some php files I didn't use the wrapper for various reasons, so I had to change my code there as well. But, it's all pretty straight forward! Here's my wrapper, in case anyone finds it useful ($...
- Tue Mar 10, 2009 5:58 pm
- Forum: Swift Mailer
- Topic: No need to disconnect with version 4?
- Replies: 4
- Views: 2725
Re: No need to disconnect with version 4?
That's excellent, thanks for the detailed answer Chris! I'm still working on my code to switch to v4, but so far so good!
- Tue Mar 10, 2009 10:51 am
- Forum: Swift Mailer
- Topic: No need to disconnect with version 4?
- Replies: 4
- Views: 2725
No need to disconnect with version 4?
Hi, I've used version 3 for quite a while now and am in the process of upgrading to version 4. One thing I noticed is that the documentation for version 4 doesn't mention disconnecting after an email was sent. I've always used $swift->disconnect(); for version 3, simply because I like to keep things...
- Tue Jul 10, 2007 6:21 pm
- Forum: Swift Mailer
- Topic: [SOLVED] Simple question about Swift_Address
- Replies: 2
- Views: 1695
- Tue Jul 10, 2007 5:48 am
- Forum: Swift Mailer
- Topic: [SOLVED] Simple question about Swift_Address
- Replies: 2
- Views: 1695
[SOLVED] Simple question about Swift_Address
Hi, I have a simple question that can be solved in seconds probably :) I've created a function to create a connection and send an email (text/html/mime depending on it's parameters). The function has a number of parameters, two of them being $to and $from, like so: function send_email($to,$from,.......