Error message Notice: Swift::send expects parameter 1

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
roscoe
Forum Commoner
Posts: 85
Joined: Tue Aug 05, 2003 10:24 am
Location: essex uk

Error message Notice: Swift::send expects parameter 1

Post by roscoe »

Notice: Swift::send expects parameter 1 to be instance of Swift_Message. in /home/arsenal/public_html/mailoutattach/mylib/Swift.php on line 378

could someone translate please?

Please ignore me I am so stupid :oops: I tried to change the wrong variable. :roll:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Swift is expecting an object of instance Swift_Message for the first argument/parameter to the method you called. It did not receive one.
Post Reply