Forums
New posts
Search forums
What's new
New posts
New media
New media comments
Latest activity
Classifieds
Media
New media
New comments
Search media
Log in
Register
What's New?
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More Options
Advertise with us
Contact Us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
The Water Cooler
General Discussion
Help on PHPMailer!
Search titles only
By:
Reply to Thread
This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Message
<blockquote data-quote="zulater" data-source="post: 1367292" data-attributes="member: 1686"><p>in the script you post to just run an if statement that then sends an email under your first condition else sends an email under your second condition?</p><p>[code]$to = "e@mails.youwanttosendto";</p><p>$subject = "New Project $lineid";</p><p>$email = "from@mail.com";</p><p>$message = "Line: $lineid</p><p>Date in: $yearin - $monthin - $dayin</p><p>Client: $client</p><p>Field Data: $tapenum' '$tapetype</p><p>Support: $support</p><p>Survey: $survey</p><p>Original Section: $origsect</p><p>Maps: $maps</p><p>Notes: $misc";</p><p>$headers = "From: $email";</p><p>$sent = mail($to, $subject, $message, $headers);[/code]</p></blockquote><p></p>
[QUOTE="zulater, post: 1367292, member: 1686"] in the script you post to just run an if statement that then sends an email under your first condition else sends an email under your second condition? [code]$to = "e@mails.youwanttosendto"; $subject = "New Project $lineid"; $email = "from@mail.com"; $message = "Line: $lineid Date in: $yearin - $monthin - $dayin Client: $client Field Data: $tapenum' '$tapetype Support: $support Survey: $survey Original Section: $origsect Maps: $maps Notes: $misc"; $headers = "From: $email"; $sent = mail($to, $subject, $message, $headers);[/code] [/QUOTE]
Insert Quotes…
Verification
Post Reply
Forums
The Water Cooler
General Discussion
Help on PHPMailer!
Search titles only
By:
Top
Bottom