Page 1 of 2
sending a email
Posted: Tue Jul 22, 2003 8:04 am
by chavalis
Hi
I want to send an email on a click of a button?
The code is written in vortex.
Regards
Sridhar
sending a email
Posted: Tue Jul 22, 2003 9:10 am
by John
If you are using Unix the easiest thing to do it to
<exec /usr/lib/sendmail -t>
Message Including headers
</exec>
sending a email
Posted: Tue Jul 22, 2003 9:25 am
by chavalis
can you give an example for this
sending a email
Posted: Tue Jul 22, 2003 9:43 am
by John
<exec /usr/lib/sendmail -t>
To: user@domain
From: sender@domain
Subject: Email message
This is the body of the email.
</exec>
sending a email
Posted: Mon Aug 14, 2006 10:18 am
by rajesh11
How can i send HTML mail instead of text i tried:
<exec BKGND TOFILE="-" /usr/lib/sendmail -t>
To:
rajesh@xicom.biz
From:
lcaol@xicom.biz
Subject: Test Mail
Content-type: text/html
This is the <b>body</b> of test email.
</exec>
not working
sending a email
Posted: Mon Aug 14, 2006 10:35 am
by mark
That should work if you put a blank line between the last header the body of the message. If it doesn't you need to find out why your mail reader doesn't like it.
sending a email
Posted: Mon Aug 14, 2006 11:05 am
by rajesh11
<strfmt "<a href=%s><B>%s</B></a><br><font size=-1><font color=#6f6f6f><b> %s -</b></font><b>%s<nobr></nobr></b></font><br>%s <b>...</b></font><br><br>" $MUrl $MStoryTitle $MSiteName $time $dabstract><$mailbody=$ret>
<sendEmail to=$email from="
admin@local.fi" mailsubject=$mailsubject mailbody=$mailbody>
while sendEmail function is
<a name=sendEmail to from="
admin@local.fi" mailsubject mailbody>
<exec /usr/lib/sendmail -t>
To: $to
From: $from
Subject:$mailsubject
Content-type: text/html
$mailbody
</exec>
</a>
it's giving me email like
<a href=
http://www.espoo.fi/default.asp?path=1; ... >Kulttuuri - Espoon kaupunki</B></a><br><font size=-1><font color=#6f6f6f><b> -</b></font><b> 8 hr, 44 mins ago <nobr></nobr></b></font><br> På svenska In English Palveluhakemisto Yhteystiedot Tarkenna <B>Espoon</B> palvelut Kulttuuri Aluekohtaiset kulttuuripalvelut Avustukset Elokuva Esitys-, harjoitus- ja <b>...</b></font><br><br><a href=
http://www.espoo.fi/default.asp?path=1; ... >Kulttuuri - Espoon kaupunki</B></a><br><font size=-1><font color=#6f6f6f><b> -</b></font>.....
Please help
sending a email
Posted: Mon Aug 14, 2006 11:17 am
by John
You probably want <fmt %s $mailbody> to make sure it is not HTML encoded.
sending a email
Posted: Mon Aug 14, 2006 12:06 pm
by mark
And add a blank line between the last header and content.
<exec /usr/lib/sendmail -t>
To: $to
From: $from
Subject: $mailsubject
Content-type: text/html
<fmt "%s" $mailbody>
</exec>
</a>
sending a email
Posted: Sun Dec 08, 2013 7:17 am
by josmani
I used this script to send email messages, but it seems that it does not accept Unicode in the subject line. Is there a way to send the subject in Unicode?
Thanks