Search found 5 matches

by chlorid
Tue Sep 02, 2008 6:09 am
Forum: Swift Mailer
Topic: how can I get a message(header + body) in variable?
Replies: 4
Views: 2243

Re: how can I get a message(header + body) in variable?

Trance-formation wrote:as you have $subject and $text existing as variables already, can you not just concatonate them to suit your purposes?
but as the same header?
and specifically please
by chlorid
Wed Aug 27, 2008 8:39 am
Forum: Swift Mailer
Topic: how can I get a message(header + body) in variable?
Replies: 4
Views: 2243

how can I get a message(header + body) in variable?

how can I get a message(header + body) in variable? I need to write it in a folder "sent" But now i'm working with Swift Mailer and I need to get full message of mail I wrote: $smtpServer='smtp.mydomain.ua'; $subject=$this->getRequestParameter('subject'); $to=$this->getRequestParameter('to...
by chlorid
Wed Aug 27, 2008 8:29 am
Forum: Swift Mailer
Topic: how do I get a letter in variable?
Replies: 2
Views: 1428

Re: how do I get a letter in variable?

$variable = 'Letter'; print substr($variable, 0, 1); // L print substr($variable, 1, 1); // e print substr($variable, -1); // r See http://ca3.php.net/manual/en/function.substr.php :) This is not something Your answer is very originally.. But now i'm worked with Swift Mailer and I need to get full ...
by chlorid
Wed Aug 27, 2008 4:38 am
Forum: Swift Mailer
Topic: how do I get a letter in variable?
Replies: 2
Views: 1428

how do I get a letter in variable?

how do I get a message(header + body) in variable?

I need to write it in a folder "sent"