Page 1 of 1
mail() with SMTP
Posted: Sun Feb 04, 2007 12:31 pm
by nwp
Hello everybody
I wanna know how can I send Emails using external SMTP server that requires password.
Without editing php.ini file and without using any classes/pear.
Just Using the mail() function
Posted: Sun Feb 04, 2007 2:09 pm
by tecktalkcm0391
no, but you can use swiftmailer:
viewtopic.php?t=56625
it better using swiftmailer, than mail anyway because mail() uses bandwidth
Posted: Sun Feb 04, 2007 10:31 pm
by nwp
tecktalkcm0391 wrote:no, but you can use swiftmailer:
viewtopic.php?t=56625
it better using swiftmailer, than mail anyway because mail() uses bandwidth
Look I've Told Before
nwp wrote:without using any classes
arn't there any Way really ??
Posted: Sun Feb 04, 2007 10:34 pm
by feyd
It's technically possible without classes, but why?
If you wanted to convert the Swift library to functions only for example.. however you would require modifying the code beyond a very minimal amount.
Posted: Mon Feb 05, 2007 12:00 am
by nwp
feyd wrote:It's technically possible without classes
I just wanna know how I can Do It
do I need to Use socket_write() on a that SMTP server on port 25 or 9000
But what arguments to pass in socket_write() (Thats whats the format to pass arguments through socket_write() on a smtp server)
Posted: Mon Feb 05, 2007 9:00 am
by feyd
Examine how Swift works...
Posted: Mon Feb 05, 2007 12:12 pm
by m3mn0n
There is also good tutorials online for this.
