Sending Email In PHP - Using Proxy

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
aliasxneo
Forum Contributor
Posts: 136
Joined: Thu Aug 31, 2006 12:01 am

Sending Email In PHP - Using Proxy

Post by aliasxneo »

Hello all,

Currently I am in development of an anonymous email sender as an add-on for my website. When the email is sent, it is only half anonymous because it's still possible to trace the email back to my server via the IP. So I want to give the user an option to use a proxy when sending the email.

Currently I am using PHP's mail() function but the problem is it accepts no default parameter for proxy usage. My current server is using SendMail (Hence why mail() works) and the only other option I saw was using sockets (Which I already tried and it didn't go over too well ;) ).

Does anyone know any methods I can use to send my mail via a proxy? Thanks.

Cheers,
- Josh
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

Take a look at SwiftMailer
Post Reply