This topic is locked

Sending Email via Outlook

5/27/2007 12:06:07 AM
ASPRunnerPro General questions
B
bburden author

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=5341&image=1&table=forumtopics' class='bbc_emoticon' alt=';)' /> I have a email script that work wonderful. And I know this probable can't be done, but I don't know if I don't ask. The below script send email to the appropriate places I need it to go.
But I was wondering is it possible to have this same script to add information in the From: box in Outlook? (e.g. from Service.center@ts.com)
Right now when I click on the link that this script creates on the list_asp page, it send the email as it is coming from my personal profile and that is what it is suppose to do, if I go to another machine and click the link, it sends out the email and coming from that machine personal profile. (it uses whatever user profile that is signed on in outlook).
example:
From: Service.Center@ts.com

To: Linda.bruton@ts.com

cc: brenda.bruton@ts.com
strValue="<a href=""mailto:" & GetData(rs,"emailto","")& "&cc=" & GetData(rs,"email_cust","")& "," &GetData(rs,"cc_manager_email","") & "?subject=Service Ticket # " & GetData(rs,"tktid","") & "&body=" &"" &

"Requestor: "&GetData(rs,"first_name_cust", "")& " " &GetData(rs,"last_namecust", "")+"%0D%0A" +"%0D%0A" &

"Service Issue: "& GetData(rs,"serviceissue", "")+"%0D%0A" +"%0D%0A" &

"Cost Center: "& GetData(rs,"cost_centertkt", "")+"%0D%0A" +"%0D%0A" &

"Cost Center Manager: "& GetData(rs,"cc_managertkt", "")+"%0D%0A" +"%0D%0A" &

"This ticket may be charged to your cost center. Cost Center manager please reply to this email for your approval. Please go to http://crnnt.crn.ts.com/sc/service_tkt_query_one.ASP to view ticket #" &" "& GetData(rs,"tktid","")&"."& +"%0D%0A"+"%0D%0A" &

"Service Ticket Status:" & GetData(rs,"service_tkt_status", "")& """>Click to send record info!</a>"

Sergey Kornilov admin 5/30/2007

No, you cannot do this.
Actually FROM address is controlled by your mail client and some mail programs won't allow you to change FROM address if it doesn't belong to you.

B
bburden author 5/30/2007

No, you cannot do this.

Actually FROM address is controlled by your mail client and some mail programs won't allow you to change FROM address if it doesn't belong to you.


Thanks I did get this figure out - and I do have access to the mail server and was able to change it inthe application and setup and acccount on the machine of the user that actually going to be sending the email.
Thanks again. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=18335&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />