Jump to content

stever_stifler

New Members
  • Posts

    5
  • Joined

  • Last visited

stever_stifler's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Sure, but I'm not asking for the entire code, and giving me the solutions take about... 1 line of code. It's just pity that I came across this forum and I'm wasting my time, listening to people who think they are smart just because there's a newbie member of this community. Not to mention, that it took you more time to write your silly and how 'enlightening' comment than it would've take to modify a single line of code. This forum is complete waste of time.
  2. Should I use single apostropthe than or what ?
  3. I don't know why I keep mentioning it. It serves PHP for sure. The sixth line is the one that starts with <head> <?php $receiver = "receiver@gmail.com"; $subject = "Subject example"; $message = " <!DOCTYPE html "-//w3c//dtd xhtml 1.0 transitional //en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <xml> <o:OfficeDocumentSettings> [...] Yes, I do. The message I get is:
  4. How do I do it exactly ? I did try to include entire HTML template sourcecode like that: $message = "<div>My entire sourcecode of HTML template </div>"; and unfortunately time and again when I launch the entire file on FTP server, by typing the address of ftp server with slash and the name of this file, I get the exactly same message -> (the sixth line starts with '<head> <xml>')
  5. Hi! I'm looking for someone who can help me out with PHP script which meant to be launched on FTP server and ought to send some emails based on ready&made email templates written in HTML code. The basic script looks like this: <?php $receiver = "receiver@gmail.com"; $subject = "Subject example"; $message = "Message example"; $sender = "sender@gmail.com"; $header = "From: " . $from; mail($receiver, $subject, $message, $header); echo "ok!"; ?> What am I supposed to do to run this code with my HTML template and how should I organize files on my FTP server so that the script will be reading all content from HTML template including some graphic files which are used in this template ?
×
×
  • 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.