Swift Headers

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
NiGHTFiRE
Forum Contributor
Posts: 156
Joined: Sun May 14, 2006 10:36 am
Location: Sweden

Swift Headers

Post by NiGHTFiRE »

Hey,
I've looked in the Swift documentation and tryed to add headers but without success (they don't do what I want).
I'm using swift, and i'm trying to do so the emails I send out don't go into peoples junkmail boxes or get stopped by spamfilters and so on.
So i'm using this code to try to stop it getting blocked:

Code: Select all

$swift->addHeaders(
    "From: "."$sender",
    "Subject: "."$subject"
);
But maybe i'm using the wrong code or i've forgot any header or anything?
Thanks
NiGHTFiRE
Forum Contributor
Posts: 156
Joined: Sun May 14, 2006 10:36 am
Location: Sweden

Post by NiGHTFiRE »

anyone?
Post Reply