hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Pre filled message text in out look express
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Pre filled message text in out look express

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-04-2008, 08:36 AM
saghir69 saghir69 is offline
Web Hosting Master
 
Join Date: Jun 2004
Posts: 889

Pre filled message text in out look express


I need to send emails to my clients with info from my site. The emails are one at a time.

The info is pretty generic and I can sort what needs to go where in PHP.
At the momment I can pre fill the to and subject fields.

But is there a way to pre fill the message of the email from a php genarated web page.

Does anyone know if this can be done?

Reply With Quote


Sponsored Links
  #2  
Old 04-04-2008, 09:37 AM
BurakUeda BurakUeda is offline
Retarded Noodleator
 
Join Date: Oct 2004
Location: Shimonoseki
Posts: 2,100
If contents of the email will be HTML, you can use CURL, file_get_contents or fsockopen to read the .php page and send the returning data as the email body.

__________________
Closed for winter...

Reply With Quote
  #3  
Old 04-04-2008, 09:53 AM
kemuel kemuel is offline
WHT Addict
 
Join Date: Apr 2005
Posts: 135
Isn't it easier to use the PEAR mail functions? Can just send emails with PHP then from the same email.

Reply With Quote
Sponsored Links
  #4  
Old 04-04-2008, 10:24 PM
Adam-AEC Adam-AEC is offline
Web Hosting Master
 
Join Date: Feb 2003
Location: Canada
Posts: 935
Code:
<a href="mailto:user@host.com?subject=Pre filled form&body=The message's first paragraph.%0A%0aSecond paragraph.%0A%0AThird Paragraph.">Click here to email this user</a>
%0A is a new line. %0A twice is a new paragraph.

Reply With Quote
  #5  
Old 04-09-2008, 06:21 PM
saghir69 saghir69 is offline
Web Hosting Master
 
Join Date: Jun 2004
Posts: 889
Thanks Adam, thats what I was after.

Do you know how I can enter a * as a bullet point at the start of each line?

Or how to format a list of bullet point items?

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
RackForce Networks Launches Cloud-Express Servers Brand Web Hosting News 2013-04-03 14:03:49
Are you ready for Speed Networking at WHIR Events? Blog 2013-01-18 07:00:04
Web Host SoftLayer Launches Message Queue Service for Scalable Software System Communication Web Hosting News 2012-09-13 17:26:30
Irish Web Host LetsHost Expands Hosting Services to UK, US, Australia Web Hosting News 2012-04-09 11:20:25
Irish Web Host LetsHost Sending Billing Reminders to Customers via Text Message Web Hosting News 2012-03-13 17:00:48


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?