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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.