Jump to content

Send mail


zero_ZX

Recommended Posts

Hello,

I have those code:

$message = "
Hello $inforow2['company']<br />
This is a notice about a pending invoice at $inforow3['company'].<br />
If you would like to see the invoice, you can see it <a href='http://$inforow3['url]'/view-invoice?id=$id.php'>here</a><br />
This is an automatic message. Replies will not be monitored.<br />
Yours faithfully<br />$inforow3['company']";		

mail($inforow2['email'],"Invoice overdue #1",$message,$inforow3['sentfrom']);

 

I'm not sure if I can send this, and it will get the values from my mysql and put it in the email or it would send the text directly, and if it ill take the html..

Can any one tell me if above code would be correct?

 

Link to comment
https://forums.phpfreaks.com/topic/213737-send-mail/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.