[SOLVED]using an smtp server to send mail via php
Posted: Fri Dec 01, 2006 3:58 am
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
where do i input the mailserver?
the mail function page was useless for as far as i can tell btw
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)the mail function page was useless for as far as i can tell btw