jasonc Posted June 13, 2006 Share Posted June 13, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/11843-send-a-jpg-file-on-my-server-to-an-email-address/ Share on other sites More sharing options...
joquius Posted June 13, 2006 Share Posted June 13, 2006 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 Link to comment https://forums.phpfreaks.com/topic/11843-send-a-jpg-file-on-my-server-to-an-email-address/#findComment-44901 Share on other sites More sharing options...
jasonc Posted June 13, 2006 Author Share Posted June 13, 2006 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) [snapback]383144[/snapback][/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] Quote Link to comment https://forums.phpfreaks.com/topic/11843-send-a-jpg-file-on-my-server-to-an-email-address/#findComment-44902 Share on other sites More sharing options...
redarrow Posted June 13, 2006 Share Posted June 13, 2006 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 Link to comment https://forums.phpfreaks.com/topic/11843-send-a-jpg-file-on-my-server-to-an-email-address/#findComment-44905 Share on other sites More sharing options...
jasonc Posted June 13, 2006 Author Share Posted June 13, 2006 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) [snapback]383148[/snapback][/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"); Quote Link to comment https://forums.phpfreaks.com/topic/11843-send-a-jpg-file-on-my-server-to-an-email-address/#findComment-44931 Share on other sites More sharing options...
redarrow Posted June 13, 2006 Share Posted June 13, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/11843-send-a-jpg-file-on-my-server-to-an-email-address/#findComment-44935 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.