473,473 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Programmetically add attachement to email.

nilayanand
10 New Member
Hi there,

My application has link to open email client with Subject and CC field auto filled with data. I did it by placing html snippet like following:
<a href="mailto:nilay@csomedomain.com?Subject=Test&Cc =other@somedomain.com">Mail</a>

Is there any way to add attachent too?

Thanks

--Nilay
Dec 4 '06 #1
2 1201
ronverdonk
4,258 Recognized Expert Specialist
You cannot attach a file using the mailto: hyperlink, as you do. This hyperlink merely opens the default email client window and fills in some text in the input fields.

An attachment is something quite different.
You can develop an email sending program yourself, collecting the information from your screen, setting up the To, From, Cc, Bcc etc. fields, setting up the headers and using the PHP mail() function. That way you don't need your PC's email program.

Ronald :cool:
Dec 4 '06 #2
seangates
19 New Member
There's always AJAX, but you would also need a <input type="file" ... > field.

Sean
Dec 4 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Conrad Chan | last post by:
I am trying to build some utilities for our internal development. Is there any way I can programmetically find out the original source file for a given class? Say I am inspecting a CLR type in...
5
by: mimi | last post by:
Hi, I've been searching all the posts and articles but couldn't find any example on how to send attachments with pop3 using C#. Does anyone have one or know how? Thanks
2
by: Malik Asif Joyia | last post by:
Hello how can i send a stream object (a file stream returned from SQL Reporting Service) as a mail attachement. i dont want to write this file to the disk Thanks
2
by: ielamrani | last post by:
I have a table like this: Client ContactName Email ABC ABC Name ABC@yahoo.com CDC CDC Name CDC@yahoo.com MNB MNB Name MNB Name I am trying to send...
1
by: ismailc | last post by:
Hi, I'm sending html email with image in html, image lies on the server. but when the user recieves the image, it requires the user to login to the server everytime. I set authentication...
0
by: squrel | last post by:
Hello everyone.. Is anyone thr to tel me how can open an attachement in VB6.. save to the database and view it in a form... i m using VB6 and SQLserver2000.... can u give a code sample or atleast...
1
by: robinsiebler | last post by:
I'm trying to figure out how to save an e-mail attachment from a POP3 mailbox. I've scoured the web, but -none- of the examples I have found have actually worked. For instance, in this example:...
12
by: DeZZar | last post by:
Hi all, I'll explain my database first. Users input customer details that are required to complete a company document. The document merge etc is all working - the database saves the...
0
by: sandeep98811 | last post by:
I am getting following weird issue, "When forwarding an email with an open attachment the user warned twice that an attachment is open". I am catching Forward event of mail item in function...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.