Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attaching a picture to an Email

Status
Not open for further replies.

sanjdhiman

Programmer
Jan 15, 2003
189
GB
Sorry guys i managed to work out how to send a HTML formatted email. But i dont think i will be able to find out how to attach a picture to an email?

Any ideas please would be great

Sanj

thanks in advance
 
Hey thanks that is a great link.

One more question ok i have set up my php.ini to send email however,

does anyone know wath the smtp server for say yahoo or hotmail is dont know where i can find this info cos i want it to senf emails via these or is that not possible.

i have used another mailhub... butttttttt

it only allows me to send email to emails from that mailhub and not to say yahoo or hotmail or another other type of email address

do u know wat the problem might be?

sanj

thanks in advance

(Using Winxp home edition and php 4 and apache)

cheers

sanj
 
One more question,

right i have the mailcontent of the email ready it displays a table it works fine.

BUT within the table i have an image.. do u know how to embed the image within the <img src&quot;IMAGE_NAME&quot;> within the tag???

Regards

SAnj

Thanks in advance

sAnj
 
Whatever mail server you are using is probably configured to not allow email relay unless you are connection to the server from a limited range of addresses. This is done to prevent spammers from doing what you are trying to do.

I recommend that you look back in this forum -- there have been a couple of recommendations for cost-free SMTP server software to install on a WAMP box.


It you want to do all this stuff, you might want to take a look at the mail_mime PEAR class ( Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top