Hello!
My website is written in PHP4.
I noticed that the examples seem to be for PHP5.
Are there any examples around showing how to create and send messages using the PHP4 version of Swift Mailer?
Thank you in advance.
Moderators: Chris Corbyn, General Moderators
if ($toBe || $notToBe) echo 'That is the question'; azthoa wrote:1) Is there are a way to do something like:
$recipients->addTo("webmaster@azthoa.com", "AZT Webmaster");
to set the email address and the name belonging to the e-mail address for the sender?
Api docs wrote:class Swift_RecipientList:
....
void addTo (mixed $address, [string $name = null])
....
2) I have a distribution list of 1300 people. Is it best to send out 1300 e-mails, or group them in groups of, say, 100 per e-mail, sending out 13 e-mails? Of course, I'd use BCC when applicable.
3) Is there a limit of how many e-mails or e-mail address one can send to within a specified timeframe? When experimenting with PhpMailer, it stopped working at 900, regardless if I sent them one at a time or in groups of 100. Maybe I wasn't waiting long enough between messages, or something else that I'm not aware of.
azthoa wrote:Is there a way to have the from address in the email message be: My Name <sender@mymail.com>?
Api docs wrote:mixed $from: The address to send the message from. Can either be a string or an instance of Swift_Address.
Users browsing this forum: No registered users and 2 guests