Jump to content


Photo

Send a .jpg file on my server to an email address.


  • Please log in to reply
5 replies to this topic

#1 jasonc

jasonc
  • Members
  • PipPipPip
  • Advanced Member
  • 841 posts

Posted 13 June 2006 - 07:57 AM

How do i send an image file on my server via email to someone.

would i use mail() ?

looked around but no idea if it is mail() that i use.

how is it done?

thanks

#2 joquius

joquius
  • Members
  • PipPipPip
  • Advanced Member
  • 319 posts

Posted 13 June 2006 - 07:58 AM

Well you could always just use mail() to send the email and add a link to the file on your server within the content.
z..z..z..z..z..z..z..z..

#3 jasonc

jasonc
  • Members
  • PipPipPip
  • Advanced Member
  • 841 posts

Posted 13 June 2006 - 08:02 AM

this is what i am doing at the moment, but i wish delete their photo from the server afterwards to save space, as the member would have just closed their account.

[!--quoteo(post=383144:date=Jun 13 2006, 08:58 AM:name=joquius)--][div class=\'quotetop\']QUOTE(joquius @ Jun 13 2006, 08:58 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Well you could always just use mail() to send the email and add a link to the file on your server within the content.
[/quote]


#4 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 13 June 2006 - 08:09 AM


All the php programers i no, go on about this one ok

[a href=\"http://docs.com.ru/php_3.php\" target=\"_blank\"]http://docs.com.ru/php_3.php[/a]
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#5 jasonc

jasonc
  • Members
  • PipPipPip
  • Advanced Member
  • 841 posts

Posted 13 June 2006 - 09:50 AM

thanks, i have looked at the page your say but stil none the wiser, is all of it used or do i just use one part of the code in that page. if so what part.

it is not english so not able to read anything but the code.

thanks


[!--quoteo(post=383148:date=Jun 13 2006, 09:09 AM:name=redarrow)--][div class=\'quotetop\']QUOTE(redarrow @ Jun 13 2006, 09:09 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
All the php programers i no, go on about this one ok

[a href=\"http://docs.com.ru/php_3.php\" target=\"_blank\"]http://docs.com.ru/php_3.php[/a]
[/quote]


ok, been looking more at code after putting whole page in new file in dreamweaver, just the code there all functions i see...

oh and is this perl ?

is there a simplified version around?

one that just adds a file to a message already formed,

mail("email","subject","message","headers");


#6 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 13 June 2006 - 10:07 AM

easy to understand ok.

[a href=\"http://uk2.php.net/mail\" target=\"_blank\"]http://uk2.php.net/mail[/a]




Go to this link scroll to bottom and get the code that a user added well good and fully exspalined ok

[a href=\"http://www.zend.com/zend/spotlight/sendmimeemailpart1.php?article=sendmimeemailpart1&kind=sl&id=5238&open=1&anc=0&view=1\" target=\"_blank\"]http://www.zend.com/zend/spotlight/sendmim...=1&anc=0&view=1[/a]
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users