What code would I use to get a CGI script to pass input to an e-mail address? (Like feedback)
6 1169
do you mean to send an email or something else?
Kind of like writing to a text file, except it writes it to an e-mail address as a text file, kind of. It's hard to explain. I guess it will be like writing to a text file, but the file is an e-mail address, If you know what I mean.
Sorry, but I'm not following you. Maybe someone else understands what you mean or is familiar with what you are doing.
They are covering that in another thread
http://www.thescripts.com/forum/thread601196.html
They are covering that in another thread
http://www.thescripts.com/forum/thread601196.html
TNT says he is not trying to send an email, but write to an mail address, which maybe is the same thing and he is confused, or I am confused, or we are all confused. ;)
@TNT
Try this: - use MIME::Lite;
-
-
my($sender) = "<sender>";
-
my($mailServer) = "<your mail server>";
-
my($mailTo) = "<comma separated list of receivers>";
-
my($msg) = "<whatever you want to send>";
-
-
my($msg) = MIME::Lite->new(
-
From => $sender,
-
To => $mailTo,
-
Subject => $msg,
-
Type =>'multipart/mixed'
-
);
-
-
$msg->attach(
-
Type =>'TEXT',
-
Data =>"Body !"
-
);
-
-
MIME::Lite->send('smtp', "$mailServer");
-
$msg->send();
Greetz, Doc
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Pete |
last post by:
Any ideas on how I can set some data in 1.asp, then have 1.asp do a
server.transfer (or .execute, come to that) to 2.asp, and have 2.asp
access the original data?
I'm aware that the Session...
|
by: comp.lang.php |
last post by:
On one of my sites, I have a TCL CGI script that has a security hole
in spite of it having effective server-side validation (the fact that
it's CGI IS its security hole). The front end is a PHP...
|
by: Gordon Hudson |
last post by:
Hello
Here is what I am trying to do:
Make a hyperlink on a data entry form with its URL built from the values for
fields in that entry on the database.
So, I would go to record 65785 click...
|
by: Charles Sullivan |
last post by:
The library function 'qsort' is declared thus:
void qsort(void *base, size_t nmemb, size_t size,
int(*compar)(const void *, const void *));
If in my code I write:
int cmp_fcn(...);
int...
|
by: DotNetJunkies User |
last post by:
Hello,
I have a scenario. In my application, login page is in different application and after validating the user I have to pass the user
credentials to another asp.net web application. How can...
|
by: darrel |
last post by:
OK, due to peer pressure, I'm caving into the concept that one should have
the ASPX page TELL the ascx pages what's going on rather than vice versa.
;o)
I have an aspx page that needs to pass a...
|
by: Stephen Travis |
last post by:
I'm trying to write a subroutine that will fill an array of some type with several objects of that type. The subroutine works fine
if I directly reference the array but if I pass the array as an...
|
by: Erik Foreman |
last post by:
this is what I have
'variables defined as arrays
Dim ceday(), ceti(), ceto(), ceproj(), cenotes() As String
Dim cerow As Int32
|
by: Christopher Benson-Manica |
last post by:
Does the following program exhibit undefined behavior? Specifically,
does passing a struct by value cause undefined behavior if that struct
has as a member a pointer that has been passed to...
|
by: dj10fld |
last post by:
Hello I am having some diffculty with this programming assignement, I created an array of structures and all i want to do is pass all the members to a function to print them out. But im getting...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |