Gossamer Forum
Home : Products : Others : Gossamer Community :

Emailing, but without a template?

Quote Reply
Emailing, but without a template?
Hi. I've finally managed to get the support ticket system setup on UltraNerds, using GComm. There is one feature that I would still like to add.

Basically, you have to log in and check for replys to your ticket. This is a pain for both the admin and users..

Is there a way I can define the message itself, instead of a .eml template, such as in the code below?

Code:
require GT::Mail;
$user->{clear_password} = $clear_pass;
send_email('user_validate.eml', $user);
return ('user_signup_validate.html', $user);

This will be the final touches to the ticket system :)

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Emailing, but without a template? In reply to
Anyone?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Emailing, but without a template? In reply to
Pretty please? Someone must know the answer to this.. GT?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Emailing, but without a template? In reply to
Code:
require GT::Mail;
$GT::Mail::error ||= ''; # Silence -w
GT::Mail->send (
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
from => ,
subject => ,
to => ,
reply => ,
msg => ,
debug => $Links::DEBUG
) or die "Unable to send mail: $GT::Mail::error";


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.