Page 1 of 1

[SOLVED]using an smtp server to send mail via php

Posted: Fri Dec 01, 2006 3:58 am
by ryuuka
greetings

currently i'm trying to make a file upload site that(when a file is submitted)
sends an email to the submitter and one to the reciever with the link.
with wich the file can be downloaded.

creating this was not a problem but saying that the message should
use our local mail server is a lot more difficult.

variable explenation:
$download_mail -> for the one who is going to download it.
$upload_mail -> for the guy who uploaded it
next one is the subject -> @@@ is the company name as usual
$description -> this is description that is given on file upload
$downloadlink -> this is the link for the file that is to be downloaded

Code: Select all

mail('$download_mail, $upload_mail', 'file from @@@ is waiting', $description $downloadlink)
where do i input the mailserver?
the mail function page was useless for as far as i can tell btw

Posted: Fri Dec 01, 2006 5:39 am
by Chris Corbyn
You can't do it with mail(). But you can with Swift ;)

Posted: Fri Dec 01, 2006 6:13 am
by ryuuka
thanks for the advice will try that